Search for a tool
Rounding Calculator

Tool to compute roundings (integers, decimals, to multiple). Rounding a number is calculating an approximate value using truncation of its digits/decimal places (rounding down floor, rounding up ceil, rounding to multiple) in the limits of the precision asked to the calculator.

Results

Rounding Calculator -

Tag(s) : Data processing, Arithmetics

Share dCode and you

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Team dCode likes feedback and relevant comments; to get an answer give an email (not published). It is thanks to you that dCode has the best Rounding Calculator tool. Thank you.

# Rounding Calculator

## Rounding Numbers

 Rounding Type Round to nearest value Floor value (round to lower value) Ceil value (round to upper value)

Tool to compute roundings (integers, decimals, to multiple). Rounding a number is calculating an approximate value using truncation of its digits/decimal places (rounding down floor, rounding up ceil, rounding to multiple) in the limits of the precision asked to the calculator.

### How to calculate a Rounding?

dCode allows rounding to the desired number, the rounded default is closest (approximation), ie the upper value if the decisive digit is greater than or equal to 5 and the lower value if the decisive digit is less than 5.

Round to ones (no decimal dot), round to tenth (1 one decimal place), round to hundredth (2 two decimal places) or round to thousands (3 three decimal places).

Example: 3.15 is rounded to 3.2 with 1 digit after decimal point (to tenth)

Some textbooks refer to rounding to + infinity for rounding up or - infinity for rounding down, or to 0 for rounding down positive numbers and rounding up negative numbers.

Monetary notations (euros, dollars, etc.) use a 2-digit precision format

### How to calculate a Rounding to a multiple?

dCode calculates the nearest multiple (rounded up/superior or rounded down/inferior to the multiple).

Example: 123 can be rounded to the closest multiple of 5 so: 125.

### How to calculate a Ceiling Round?

The ceiling rounding is in the upper rounding.

Example: 1.2 is ceil rounded to 2

### How to calculate a Floor Round?

Floor rounding is the lower rounding.

Example: 1.7 is floor rounded to 1

### What is a significant figure?

The significant digits are the figures (of a decimal number) known with certainty. They depend on the measuring tool, but also on the rounding done.

Example: 0.0123 has 3 significant digits (1,2,3)

### How to round 0.99999999...?

All rouding of 0.99999999... are 1.

Mathematically speaking $0.999... = 1$

## Source code

dCode retains ownership of the source code of the script Rounding Calculator online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be released for free. To download the online Rounding Calculator script for offline use on PC, iPhone or Android, ask for price quote on contact page !