num | String Number to be rounded. |
numberOfDigits | String Specifies the number of digits to which you want to round the number. |
roundingMode | String Optional. Specifies the rounding method. Valid values for the roundingMode parameter are RoundHalfUp, RoundUp, RoundDown, RoundCeiling, RoundFloor, RoundHalfDown, and RoundHalfEven. The default value is RoundHalfUp. |
roundedNumber | String The rounded number. |