Info | ||
---|---|---|
| ||
This routine is available starting with katl-commons SIL Engine™2.5. |
Syntax
ceiling(number, significance)
...
Excerpt |
---|
Returns number rounded up, away from zero, to the nearest multiple of significance. |
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
number | Number | Yes | Numeric value you want to round. |
significance | Number | Yes | Multiple you want to round to. |
Return type
number
Example
Code Block |
---|
number a = floor(2.5, 1); print("a= " + a); number b = floor(-2.5, -2); print("b= " + b); |
...