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

From Serious Documentation
Jump to: navigation, search
Line 2: Line 2:
 
{{:SHIP:Sail:abs}}
 
{{:SHIP:Sail:abs}}
 
|+
 
|+
{{:SHIP:Sail:acos}}
+
<!--{{:SHIP:Sail:acos}}
 
|+
 
|+
 
{{:SHIP:Sail:acosh}}
 
{{:SHIP:Sail:acosh}}
Line 15: Line 15:
 
|+
 
|+
 
{{:SHIP:Sail:atanh}}
 
{{:SHIP:Sail:atanh}}
|+
+
|+-->
 
{{:SHIP:Sail:atoi}}
 
{{:SHIP:Sail:atoi}}
 
|+
 
|+
Line 22: Line 22:
 
{{:SHIP:Sail:ceil}}
 
{{:SHIP:Sail:ceil}}
 
|+
 
|+
{{:SHIP:Sail:cos}}
+
<!--{{:SHIP:Sail:cos}}
 
|+
 
|+
 
{{:SHIP:Sail:cosh}}
 
{{:SHIP:Sail:cosh}}
Line 29: Line 29:
 
|+
 
|+
 
{{:SHIP:Sail:expm1}}
 
{{:SHIP:Sail:expm1}}
|+
+
|+-->
 
{{:SHIP:Sail:floor}}
 
{{:SHIP:Sail:floor}}
 
|+
 
|+
Line 36: Line 36:
 
{{:SHIP:Sail:itof}}
 
{{:SHIP:Sail:itof}}
 
|+
 
|+
{{:SHIP:Sail:log}}
+
<!--{{:SHIP:Sail:log}}
 
|+
 
|+
 
{{:SHIP:Sail:log10}}
 
{{:SHIP:Sail:log10}}
 
|+
 
|+
 
{{:SHIP:Sail:log1p}}
 
{{:SHIP:Sail:log1p}}
|+
+
|+-->
 
{{:SHIP:Sail:max}}
 
{{:SHIP:Sail:max}}
 
|+
 
|+
 
{{:SHIP:Sail:min}}
 
{{:SHIP:Sail:min}}
 
|+
 
|+
{{:SHIP:Sail:pow}}
+
<!--{{:SHIP:Sail:pow}}
|+
+
|+-->
 
{{:SHIP:Sail:round}}
 
{{:SHIP:Sail:round}}
 
|+
 
|+
 
{{:SHIP:Sail:sin}}
 
{{:SHIP:Sail:sin}}
 
|+
 
|+
{{:SHIP:Sail:sinh}}
+
<!--{{:SHIP:Sail:sinh}}
 
|+
 
|+
 
{{:SHIP:Sail:sqrt}}
 
{{:SHIP:Sail:sqrt}}
Line 63: Line 63:
 
|+
 
|+
 
{{:SHIP:Sail:toDegrees}}
 
{{:SHIP:Sail:toDegrees}}
|+
+
|+-->
 
{{:SHIP:Sail:towards}}
 
{{:SHIP:Sail:towards}}
 
|}</onlyinclude>
 
|}</onlyinclude>

Revision as of 16:40, 23 October 2015

Function Returns Introduced Description
abs Integer/Float v4.0 Gets the absolute value of a number
atoi Integer v5.0.120 Parses a String to get an Integer from it
atof Float v5.0.120 Parses a String to get an Float from it
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
sin Float v5.0.204 Calculates the sin of a radian angle
towards Float/Integer v5.0.207 Adjusts a number by a percentage in a range towards another number

See Also: