File:Comparison_rounding_graphs_SMIL.svg · Wikimedia Commons · See Wikimedia Commons
rounding
Sign in to saveAlso known as rounding of numbers
thumb|300px|link=https://upload.wikimedia.org/wikipedia/commons/8/8a/Comparison_rounding_graphs_SMIL.svg|Graph of a function|Graphs of the result, , of rounding using different methods. For clarity, the graphs are shown displaced from integer values. In the SVG file, hover over a method to highlight it and, in SMIL-enabled browsers, click to select or deselect it.
~45 min read
Article
46 sectionsContents
- Types of rounding
- Rounding to integer
- Directed rounding to an integer
- Rounding down
- Rounding up
- Rounding toward zero
- Rounding away from zero
- Rounding to the nearest integer
- Rounding half up
- Rounding half down
- Rounding half toward zero
- Rounding half away from zero
- Rounding half to even
- Rounding half to odd
- Randomized rounding to an integer
- Alternating tie-breaking
- Random tie-breaking
- Stochastic rounding
- Comparison of approaches for rounding to an integer
- Rounding to other values
- Rounding to a specified multiple
- Logarithmic rounding
- Rounding to a specified power
- Scaled rounding
- Floating-point rounding
- Rounding to a simple fraction
- Rounding to an available value
- Arbitrary bins
- Rounding in other contexts
- Dithering and error diffusion
- Monte Carlo arithmetic
- Exact computation with rounded arithmetic
- Double rounding
- Rounding to prepare for shorter precision
- Table-maker's dilemma
- Interaction with string searches
- History
- Rounding functions in programming languages
- Other rounding standards
- US weather observations
- Negative zero in meteorology
- Negative zero in computation
- See also
- Notes
- References
- External links
thumb|300px|link=https://upload.wikimedia.org/wikipedia/commons/8/8a/Comparison_rounding_graphs_SMIL.svg|Graph of a function|Graphs of the result, , of rounding using different methods. For clarity, the graphs are shown displaced from integer values. In the SVG file, hover over a method to highlight it and, in SMIL-enabled browsers, click to select or deselect it.
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.