29
edits
(→ceil()) |
|||
Line 112: | Line 112: | ||
== ceil() == | == ceil() == | ||
Returns the value rounded upward | |||
Example: | |||
<syntaxhighlight lang="nasal" enclose="div"> | |||
math.ceil(1.2); # returns 2 | |||
math.ceil(1.6); # returns 2 | |||
</syntaxhighlight> | |||
== fmod() == | == fmod() == | ||
A '''modulo'''-operator, mod(x,y) also works...<br> | A '''modulo'''-operator, mod(x,y) also works...<br> |
edits