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!

This page is using the new English version of dCode, please make comments !

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.

You can round to ones (no decimal dot), round to tenth (1 digit after decimal dot), round to hundredth (2 digits after decimal dot) or round to thousands (3 digits after decimal dot).

How to calculate a Rounding to a multiple?

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

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.

1.2 is ceil rounded to 2

How to calculate a Floor Round?

Floor rounding is the lower rounding.

1.8 is floor rounded to 1

Ask a new question

Source code

dCode retains ownership of the source code of the script Rounding Calculator. Except explicit open source licence (free / freeware), any algorithm, applet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any snippet or function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in PHP (or Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Rounding Calculator script for offline use, for you, your company or association, see you on 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