Rounding
Rounding or rounding off is the process of adjusting a number to an approximate, more convenient value, often with a shorter or simpler representation. For example, replacing $23.4476 with $23.45, the fraction 312/937 with 1/3, or the expression √2 with 1.414.
| Round to nearest; away from zero | Half-way values are rounded away from zero |
| Round to nearest; ties to even | Half-way values are rounded to the nearest even digit |
| Truncate (round away from infinity) | Round toward zero |
| Floor (round toward negative infinity) | Round down |
| Ceil (round toward positive infinity) | Round up |
Results
| Input | Mantissa | Method | Output |
|---|