Apr 1, 2018 0 Comments

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.

Background Information

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.

###### 1. Round Type

Select the rounding type you want to use. Checkout the types of rounding.

###### Up (Away from Zero)

Input:

**1.234**, Precision:**2**`1.24`

###### Down (Towards Zero)

Input:

**1.234**, Precision:**2**`1.23`

###### Ceiling (Towards +Infinity)

Input:

**1.234**, Precision:**2**`1.24`

###### Floor (Towards -Infinity)

Input:

**1.234**, Precision:**2**`1.23`

###### Half Up (Towards nearest neighbor. If equidistant, up)

###### Input:

**1.234**, Precision:**2**`1.23`

###### Input:

**1.235**, Precision:**2**`1.24`

###### Half Down (Towards nearest neighbor. If equidistant, down)

###### Input:

**1.235**, Precision:**2**`1.23`

###### Input:

**1.236**, Precision:**2**`1.24`

###### Half Even (Towards nearest neighbor. If equidistant, towards even neighbor)

###### Input:

**1.234**, Precision:**2**`1.23`

###### Input:

**1.235**, Precision:**2**`1.24`

###### Half Ceiling (Towards nearest neighbor. If equidistant, towards +Infinity)

###### Input:

**1.234**, Precision:**2**`1.23`

###### Input:

**1.235**, Precision:**2**`1.24`

###### Half Floor (Towards nearest neighbor. If equidistant, towards -Infinity)

###### Input:

**1.235**, Precision:**2**`1.23`

###### Input:

**1.236**, Precision:**2**`1.24`

###### 2. Precision

Choose the precision you want to use during the rounding operation.

The examples below assume an input of**1.234**and a**Up (Away from Zero)**Rounding operation###### Precision: 1

`1.3`

###### Precision: 2

`1.24`

- Apr 1, 2018
- Tool Launched

## Comments 0