Number.RoundAwayFromZero

Syntax

Number.RoundAwayFromZero(number as nullable number, optional digits as nullable number) as nullable number

Description

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

Reference Data

https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference

Power Query M Functions / Number Functions / Number.RoundAwayFromZero