Difference between revisions of "SHIP:Sail:Numeric Functions"

From Serious Documentation
Jump to: navigation, search
Line 1: Line 1:
== See Also: ==
 
*[[SHIP:Sail|Sail]]
 
*[[SHIP:Sail:Functions|Sail Function Home]]
 
*[[SHIP:Sail:String Functions|Sail String Functions]]
 
*[[SHIP:Sail:Node Functions|Sail Node Functions]]
 
 
 
<onlyinclude>{{SailFuncTableStart|}}
 
<onlyinclude>{{SailFuncTableStart|}}
 
{{:SHIP:Sail:abs}}
 
{{:SHIP:Sail:abs}}
Line 22: Line 16:
 
{{:SHIP:Sail:round}}
 
{{:SHIP:Sail:round}}
 
|}</onlyinclude>
 
|}</onlyinclude>
 +
== See Also: ==
 +
*[[SHIP:Sail|Sail]]
 +
*[[SHIP:Sail:Functions|Sail Function Home]]
 +
*[[SHIP:Sail:String Functions|Sail String Functions]]
 +
*[[SHIP:Sail:Node Functions|Sail Node Functions]]

Revision as of 08:36, 13 July 2014

Function Returns Introduced Description
abs Integer/Float v4.0 Gets the absolute value of a number
ceil Integer v5.0 Gets the smallest integer greater than or equal to a number
floor Integer v5.0 Gets the largest integer less than or equal to a number
ftoi Integer v5.0 Casts a Float to an Integer
itof Integer v5.0 Explicitly casts an Integer to a Float
max Integer/Float v4.0 Gets the maximum value of two or more numbers
min Integer/Float v4.0 Gets the minimum value of two or more numbers
round Integer v5.0 Gets the nearest integer to a number

See Also: