Number.RoundTowardZero

Syntax

Number.RoundTowardZero(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 down and negative numbers up. 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.RoundTowardZero