Tool to compute roundings, an approximate value of digits/decimal places (rounding down floor, rounding up ceil, rounding to multiple) from a given precision.

Rounding Calculator - dCode

Tag(s) : Data Processing, Arithmetics

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*!

Tool to compute roundings, an approximate value of digits/decimal places (rounding down floor, rounding up ceil, rounding to multiple) from a given precision.

dCode allows **rounding** (or approximate value) from an exact value, 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

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.

The ceiling **rounding** (or **rounding** by excess) is in the upper **rounding**.

__Example:__ 1.2 is ceil rounded to 2

Floor **rounding** (or **rounding** by default) is the lower **rounding**.

__Example:__ 1.7 is floor rounded to 1

Truncation is the removal of digits beyond a certain precision, without taking into account any **rounding**.

__Example:__ 2.89 truncated to 1 decimal value gives 2.8

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)

All rouding of 0.99999999... are 1.

Mathematically speaking $ 0.999... = 1 $

dCode retains ownership of the online 'Rounding Calculator' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (PHP, Java, C#, Python, Javascript, Matlab, etc.) no data, script or API access will be for free, same for Rounding Calculator download for offline use on PC, tablet, iPhone or Android !

Please, check our community Discord for help requests!

round,rounding,dot,point,value,exact,approximate,approximation,digit,number,significant,format,ceil,floor,precision,decimal,truncation,truncate

Source : https://www.dcode.fr/rounding-calculator

© 2021 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.

Feedback

▲