Table of contents
TOC
Collapse the table of content
Expand the table of content

Number.RoundTowardZero

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

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

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

Arguments

ArgumentDescription
valueValue to round toward zero.

Examples

Number.RoundTowardZero(-1.2) equals -1  
Number.RoundTowardZero(1.2) equals 1  
© 2018 Microsoft