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

From Serious Documentation
Jump to: navigation, search
Line 1: Line 1:
 
== See Also: ==
 
== See Also: ==
*[[SHIP:Sail|SHIP Sail Home]]
+
*[[SHIP:Sail|Sail]]
 
*[[SHIP:Sail:Functions|Sail Function Home]]
 
*[[SHIP:Sail:Functions|Sail Function Home]]
 
*[[SHIP:Sail:String Functions|Sail String Functions]]
 
*[[SHIP:Sail:String Functions|Sail String Functions]]

Revision as of 08:16, 13 July 2014

See Also:


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