[This is preliminary documentation and subject to change]
An intrinisic object that provides basic mathematics functionality and constants.
Math.[{property | method}]
property
Required. Name of one of the properties of the Math. object.
method
Required. Name of one of the methods of the Math. object.
The Math object cannot be created using the new operator, and gives an error if you attempt to do so. It is created by the scripting engine when the engine is loaded. All of its methods and properties are available to your script at all times.
E Property | LN2 Property | LN10 Property | LOG2E Property | LOG10E Property | PI Property | SQRT1_2 Property | SQRT2 Property
abs Method | acos Method | asin Method | atan Method | atan2 Method | ceil Method | cos Method | exp Method | floor Method | log Method | max Method | min Method | pow Method | random Method | round Method | sin Method | sqrt Method | tan Method