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.

Paste numbers below (1 per line)
Rounded result

Settings

How the input is converted. Each is explained below.

Select the rounding type you want to use
Choose the precision you want to use during rounding

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: 1
1.3
Precision: 2
1.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.