Quick guide
How to use this calculator
- Enter a finite decimal exactly as written.
- Read the count and the fractional digit string.
- Remember that trailing zeros count as written decimal places.
Calculation method
Inspect notation, not value alone
The calculator counts source characters after the decimal marker. Therefore 12.34 and 12.3400 have the same value but different written decimal-place counts.
Worked example
Trailing zeros are visible
Four digits follow the decimal marker in 12.3400.
decimalPlaces(12.3400) = 4
Supported inputs
Precision and limits
Exact decimal input
Finite decimals use integer-scaled arithmetic, with no binary floating-point conversion.
Input boundary
Unless stated otherwise, use at most 200 digits total and 100 digits after the decimal marker.
Not accuracy
The count describes notation and does not by itself establish measurement accuracy.
