Number.RoundTowardZero

Last updated 5 months ago

Number.RoundTowardZero

Returns the result of rounding positive numbers down and negative numbers up. The number of digits can be specified.

function (optional number as nullable any, optional digits as nullable any) as nullable any

Description

Returns the result of rounding number based on the sign of the number. This function will round positive numbers down and negative numbers up. If digits is specified, number is rounded to the digits number of decimal digits.

Category

Number.Rounding