Math Functions
- Former user (Deleted)
- Jacques Marais
Owned by Former user (Deleted)
Â
Â
Built-in Functions on the Math Namespace
Â
pow
Raises the first argument to the power of the second argument.
Â
int i = Math:pow(2, 8);
Â
sqrt
Calculates the square root of the argument.
decimal d = Math:sqrt(3);
Â
random
Generates a random decimal between 0 and 1.
decimal r = Math:random();
Â
Â
Â
Â