Nasal library functions: Difference between revisions

Jump to navigation Jump to search
Line 103: Line 103:
== sqrt() ==
== sqrt() ==
== floor() ==
== floor() ==
Returns the value rounded downward
Example:
<syntaxhighlight lang="nasal" enclose="div">
floor(1.2); # returns 1
floor(1.6); # returns 1
</syntaxhighlight>
== ceil() ==
== ceil() ==
== fmod() ==
== fmod() ==
29

edits

Navigation menu