How this calculation works
The inputs remain strings until the decimal engine parses them. This preserves whole-number digits beyond the safe integer range used by ordinary JavaScript numbers. Addition, subtraction and multiplication stay exact within the stated bounds.
Compute with decimal coefficients and powers of ten. Division rounds to the entered number of places.A worked example
9007199254740993 + 7 equals 9007199254741000.
Good to know
Up to 120 coefficient digits and exponents from −120 to 120 per input. Division rounds halfway away from zero.
How the inputs affect the result
Copy the full result into a text field or a decimal-capable application. A spreadsheet cell that converts it to an ordinary number may discard trailing integer digits.
A recurring value has a finite rounded display at the chosen precision.
Where the calculation applies
Up to 120 coefficient digits and exponents from −120 to 120 per input. Division rounds halfway away from zero.
For a related calculation, see the Fraction calculator.
A few questions, answered
Can it show a recurring quotient exactly?
It shows a rounded decimal at the requested precision. Use a fraction workflow to preserve an exact ratio.
What does the “Thirty places of one third” setting illustrate?
A recurring value has a finite rounded display at the chosen precision.