Math and Numbers: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle mNo edit summary |
imported>StDoodle mNo edit summary |
||
Line 1: | Line 1: | ||
{{Flink|boolean|is_numeric|string|desc=Reports whether a string is an integer.}} | |||
{{Flink|int|random|int|desc=Generates a random integer between 0 and 1 less than the specified number, inlcusive.}} | {{Flink|int|random|int|desc=Generates a random integer between 0 and 1 less than the specified number, inlcusive.}} | ||
{{Flink|int|ceil|float|desc=Returns the next highest value of the specified number as an integer.}} | {{Flink|int|ceil|float|desc=Returns the next highest value of the specified number as an integer.}} |
Revision as of 16:50, 12 March 2010
boolean is_numeric( string )
Reports whether a string is an integer.
int random( int )
Generates a random integer between 0 and 1 less than the specified number, inlcusive.
int ceil( float )
Returns the next highest value of the specified number as an integer.
int floor( float )
Returns the next lowest value of the specified number as an integer.
Returns the decimal-stripped value of the specified number as an integer.
int min( int, int )
float min( float, float )
Returns the lower of two numbers.
int max( int, int )
float max( float, float )
Returns the higher of two numbers.
float square_root( float )
Returns the square root of the specified value.