Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference


Returns the absolute value of the passed value argument. That means, if a positive number or zero is passed, then the same number is returned. If however a negative number is passed, then the signment of the number is flipped to positive. So it behaves like simply removing the minus sign if any.

Function Prototype



Argument Name Data Type Description
number Integer Number or
Real Number
The number to be converted.

Return Value

Data Type Description
Same as number Absolute value of the passed number.


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


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