Rounding Modes

 

Rounding Methods

There are various rounding definitions that can be used to round a number. The calculator defaults to rounding to the nearest integer, but settings can be changed to use other rounding modes and levels of precision. All the rounding modes the calculator is capable of are described below.

  • Round up - rounds away from zero. 3.2 and 3.6 become 4, but -3.2 and -3.6 become -4.

  • Round down - rounds towards zero. The above numbers become 3 and -3 respectively.

  • Round half up:

This rounding method is one of the more common rounding methods used. It means rounding values that are halfway between the chosen rounding precision up. For example, when rounding to the ones place:

5.50

6

5.51

6

5.49

5

When the value being rounded is negative, the definition is somewhat ambiguous. Some round -5.5 to -5, some round to -6. We agree here the "up" can be thought of as rounding values that are halfway towards the bigger or more positive value. For example, when rounding to the ones place:

-5.50

-5

-5.51

-6

-5.49

-5

  • Round half down:

Rounding half down is similar to rounding half up, except that it means rounding values that are halfway between the chosen rounding precision down, rather than up. For example, when rounding to the ones place:

5.50

5

5.51

6

5.49

5

In the case of negative numbers, same as rounding half up, the definition is ambiguous. We agree here rounding half down can be thought of as rounding values that are halfway towards the smaller or more negative value. For example, when rounding to the ones place:

-5.50

-6

-5.51

-6

-5.49

-5

  • Round up (ceiling):

Rounding up, sometimes referred to as "taking the ceiling" of a number means rounding up towards the nearest integer. For example, when rounding to the ones place, any non-integer value will be rounded up to the next highest integer, as shown below:

5.01

6

In the case of negative numbers, rounding up means rounding a non-integer negative number to its next closest, more positive integer. For example:

-5.01

-5

-5.50

-5

-5.99

-5

  • Round down (floor):

Rounding down, sometimes referred to as "taking the floor" of a number means rounding down towards the nearest integer. For example, when rounding to the ones place, any non-integer value will be rounded down to the next lowest integer, as shown below:

5.99

5

In the case of negative numbers, rounding down means rounding a non-integer negative number to its next nearest, more negative integer. For example:

-5.01

-6

-5.50

-6

-5.99

-6

  • Round half to even:

Rounding half to even can be used as a tie-breaking rule since it does not have any biases based on positive or negative numbers or rounding towards or away from zero, as some of the other rounding methods do. For this method, half values are rounded to the nearest even integer. For example:

5.5

6

6.5

6

-7.5

-8

-8.5

8

Values to be configured in Global configuration under finflux system :

Navigate to: Admin-->Coniguration -->Rounding by applying the filter and found multiple options to configure the rounding values.

0 - UP

1- Down

2- CELING

3- FLOOR

4- Half_Up

5- Half_down

6 -Half_Even