Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Built-in Functions on the Math Namespace

 

pow

Raises the first argument to the power of the second argument.

 

Code Block
languagejava
int i = Math:pow(2, 8);

 

sqrt

Calculates the square root of the argument.

Code Block
languagejava
decimal d = Math:sqrt(3);

 

random

Generates a random decimal.

Code Block
languagejava
decimal r = Math:random(); 

 

 

 

 

Additional Mentions and References

 

 

 

Excerpt
hiddentrue

pow, sqrt, random