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

Number.RoundAwayFromZero

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

About

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

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

Arguments

ArgumentDescription
valueValue to round away from zero.

Examples

Number.RoundAwayFromZero(-1.2) equals -2  
Number.RoundAwayFromZero(1.2) equals 2  
© 2018 Microsoft