Round Numbers
Round Numbers is used to perform various kinds of rounding operations such as (up, down, ceiling, floor, half up, half down, half even, half ceiling & half floor) on floating point numbers. You can select the number of digits (precision) to round by as well.
All processing happens on the client-side, locally in your browser. No data is uploaded.
Settings
How the input is converted. Each is explained below.
History
- 2018-04-01Tool Launched
Settings explained
- Round Type
Select the rounding type you want to use. Checkout the types of rounding. The examples use a precision of 2.
Up (Away from Zero)1.234 → 1.24
Down (Towards Zero)1.234 → 1.23
Ceiling (Towards +Infinity)1.234 → 1.24, -1.234 → -1.23
Floor (Towards -Infinity)1.234 → 1.23, -1.234 → -1.24
Half Up (Towards nearest neighbor. If equidistant, up)1.234 → 1.23, 1.235 → 1.24
Half Down (Towards nearest neighbor. If equidistant, down)1.235 → 1.23, 1.236 → 1.24
Half Even (Towards nearest neighbor. If equidistant, towards even neighbor)1.235 → 1.24, 1.245 → 1.24
Half Ceiling (Towards nearest neighbor. If equidistant, towards +Infinity)1.235 → 1.24, -1.235 → -1.23
Half Floor (Towards nearest neighbor. If equidistant, towards -Infinity)1.235 → 1.23, -1.235 → -1.24
- Precision
The number of decimal places to round to, from 0 to 10; the result is written with exactly that many. With 1.234 rounded Up:
Precision: 11.3
Precision: 21.24
Background
The Rounding of numerical value means replacing it by another number that is approximately equal, but less precise. It is often used for reporting and communication purposes.