Random, Floor, Ceil, Round, and Trunc

Random ()

Return a number between 0.000001 and 0.999999


Click to generate new random

Integer

10

Random * Integer

Floor (Random * Integer)

Rounds down to its nearest integer

Ceil (Random * Integer)

Rounds up to its nearest integer

Round (Random * Integer)

Returns to the nearest integer

Trunc (Random * Integer)

Returns the integer of the value