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

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day! You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

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

Answers to Questions

How to calculate a Rounding?

dCode allows rounding to the desired number, the rounded default is closest, 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 decimal place), round to hundredth (2 decimal places) or round to thousands (3 decimal places).

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

How to calculate a Rounding to a multiple?

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

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

How to calculate a Ceil Round?

The ceil 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

Ask a new question

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 given for free. So if you need to download the online Rounding Calculator script for offline use, check contact page !

dCode uses cookies to customize the site content, analyze user behavior and adapt dCode to your use. Some data is stored and collected for advertising purposes and may be shared with our partners. OK