Truncate

Truncate a number

Truncate(1.59, 1) → 1.5
Truncate(6.2) → 6

Inputs

Truncate(number, [places])

  • number - A number expression

  • [places] - [optional: 0 by default**] -** The number of decimal places to truncate at.

Last updated