The following snippet returns a random number between min (inclusive) and max (exclusive).
Get the largest number from a set of numbers
Math.max() returns the largest number from a set of numbers. Pass each number in as an argument.
Return the largest integer less than or equal to a number
Returns the largest integer (whole number) less than or equal to a number.
Get the absolute (positive) value of a number.
Format a number to a fixed number of decimal places
Format a number to a fixed number of decimal places. Pass in the number of decimal places as an argument