Actual widget output
Round numbers exactly

Let visitors round numbers without floating-point surprises.

Each example below is the actual published output of the Decimal rounding tool widget. Type a number or change the options; the result updates as you type, and nothing you enter is sent anywhere.

This tool needs JavaScript to round numbers.

Default settings: 2 decimal places, half up, with places and rule that visitors can change.