Last updated
Was this helpful?
Last updated
Was this helpful?
Rounds the given value to a specified number of decimal places
roundDecimal(decimal_value, decimal_places)
The roundDecimal
function is particularly useful in financial calculations, scientific computations, or any scenario where precise control over decimal precision is required.
Be aware of potential rounding errors that can accumulate in complex calculations involving many rounded values.