Math

The class Math contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric functions

Most of the methods are just a wrapper around Java Math library. You can check their documentation for more detail.

Java Math: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html

Available Constants, Methods:

Static Methods
randomRange
static number randomRange(from: number, to: number)

Return a random number from from to to

Return
number A random number

© 2021 - Macrorify by KoK-CODE