Rounds a number based on the specified precision and rounding mode.
Params
- value (NumberType): The value to be rounded. Can be a number, string, or bigint.
- options (RoundingConfigType): Configuration for rounding.
Returns
(string): The rounded number as a string.
Example
value
mode
precision