Documents
Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

ceil()

Rounds the passed number up to the nearest, higher integer and returns that rounded-up value as result (by preserving the passed Real Number's data type for the return value though). The originally passed number itself remains untouched by this function.

Function Prototype

ceil(number)

Arguments

Argument Name Data Type Description
number Real Number The real number to be rounded up.
[required]

Return Value

Data Type Description
Real Number Rounded-up Real Number of the originally passed number.

Remarks

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.

Examples

None yet.

See also

floor(), round(), real_to_int()

Availability

Since LinuxSampler 2.1.1.svn14.

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