Rounds the passed ??number??
to the nearest
integer and returns that rounded 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.
round(??number??)
Argument Name | Data Type | Description |
---|---|---|
??number?? |
Real Number | The real number to be rounded. [required] |
Data Type | Description |
---|---|
Real Number | Rounded Real Number of the originally 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.
None yet.
ceil()
, floor()
, real_to_int()
Since LinuxSampler 2.1.1.svn14.