Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 9 Next »

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.

decimal r = Math:random(); 

 

 

 

Additional Mentions and References

 

 

  • No labels