Number.RoundTowardZero

About

Returns Number.RoundDown(x) when x >= 0 and Number.RoundUp(x) when x < 0.

Syntax

Number.RoundTowardZero(value as nullable number) as nullable number  

Arguments

Argument Description
value Value to round toward zero.

Examples

Number.RoundTowardZero(-1.2) equals -1  
Number.RoundTowardZero(1.2) equals 1