Mathematics · Interactive tool
Decimal Rounding
Round exact decimal input using an explicitly selected rounding rule.
Your inputs
Result
Calculated output
Enter inputs to calculate.
q = round(x,d,rule). x is the exact entered decimal, d is the number of fractional places, and rule determines how discarded digits affect the retained value.
For nearest-integer midpoints toward positive infinity, choose d=0 and the corresponding ties rule. For dollars and cents choose d=2.