Documents
Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

int_to_real()

Performs a type cast from integer number to real number, which means it converts the passed int-number to a real number and returns the latter as result value.

Function Prototype

int_to_real(int-number)

Arguments

Argument Name Data Type Description
int-number Integer Number The integer number to be converted.
[required]

Return Value

Data Type Description
Real Number Real Number representation of the passed Integer Number.

Remarks

This functions accepts any standard unit and finalness for its argument int-number. The return value's standard unit and finalness is identical to the passed int-number's one.

Examples

None yet.

See also

real(), real_to_int()

Availability

Since LinuxSampler 2.1.1.svn6.

Document Updated:  2019-09-16  |  Author:  Christian Schoenebeck