SHIP:Sail:Numeric Functions

From Serious Documentation
Revision as of 08:13, 13 July 2014 by TerryW-Serious (talk | contribs) (Created page with "{{SailFuncTableStart|}} {{:SHIP:Sail:abs}} |+ {{:SHIP:Sail:ceil}} |+ {{:SHIP:Sail:floor}} |+ {{:SHIP:Sail:ftoi}} |+ {{:SHIP:Sail:itof}} |+ {{:SHIP:Sail:max}} |+ {{:SHIP:Sail:m...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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