Returns the result of rounding {0} to the nearest number. If {0} is null, Number.Round returns null. {0} is rounded to the ...

Returns the result of rounding {0} to the nearest number. If {0} is null, Number.Round returns null.
    
      {0} is rounded to the nearest integer, unless the optional parameter {1} is specified. If {1} is specified, {0} is rounded to the {1} number of decimal digits. An optional {2} parameter is also available to control rounding behavior.
      
  • {0}: [Nullable] A number representing the value to be rounded
  • {1}: [Nullable] A number representing the number of digits to be included in the fractional part after rounding
  • {1}: [Nullable] A RoundingMode value specifying the rounding mode
  • {2}: RoundingMode value which may have one of the following values:
    • RoundingMode.Down
    • RoundingMode.Up
    • RoundingMode.AwayFromZero
    • RoundingMode.TowardZero
    • RoundingMode.ToEven