In this Page
...
Description | Returns the largest integer less than or equal to a number "x". This is similar to the JavaScript Math.floor(). | ||
---|---|---|---|
Syntax |
| ||
Example | Expression: Math.floor(3342.3) Result: 3342 |
round
Description | Returns the clo. This is similar to the JavaScript Math.max(). | ||
---|---|---|---|
Syntax |
| ||
Example | Expression: Result: 30 |
max
Description | Returns the largest number in a series of supplied numbers. This is similar to the JavaScript Math.max(). | ||
---|---|---|---|
Syntax |
| ||
Example | Expression: Result: 30 |
...
Description | Returns a floating-point, pseudo-random number from 0 (inclusive) up to but not including 1. This is similar to the JavaScript Math.random(). | ||
---|---|---|---|
Syntax |
| ||
Example | Expression: Result: 0.29628396818343006 |
randomUUID
Description | Generates a random UUID string. | ||
---|---|---|---|
Syntax |
| ||
Example | Expression: Result: 2c28e2c0-9767-11e4-9a0d-c3f2b01def6d |
round
Description | Returns the simplest integer after rounding off the original value. This is similar to the JavaScript Math.round(). | ||
---|---|---|---|
Syntax |
| ||
Example | Expression: Result: 3 Expression: Result: 4 Expression: Result: -3 |
sign
Description | Returns the sign of a number, indicating if it is a positive number, negative number, zero, or not a number. This is similar to the JavaScript Math.sign() except that negative and positive zero are treated as positive zero. | ||
---|---|---|---|
Syntax |
| ||
Example | Expression: Result: NaN Expression: Result: -1 |
...