three eighths
- Decimal
- 0.38
- Largest denominator to allow
- 10,000
As a fraction3/8
A terminating decimal converts exactly
Open this exampleA decimal as its simplest fraction. Terminating decimals convert exactly; anything else gets the best rational approximation within the denominator you allow.
Also called: decimal to fraction, convert decimal.
0.38 is 3/8, which is 0.38 as a decimal. That is exact.
A terminating decimal is already a fraction over a power of ten and simply needs reducing. Anything else is approximated, and the method matters: a Stern-Brocot search finds the fraction with the smallest denominator within your bound that is closest to the value, which is why pi comes out as 355/113 rather than something with far more digits and no better accuracy.
the best rational approximation within a denominator bound, found by binary search on the Stern-Brocot treeEach of these is asserted on every build. If a change to the engine ever moved one of these answers, the build would fail before the page could print it.
As a fraction3/8
A terminating decimal converts exactly
Open this exampleAs a fraction1/3
boundary: the Stern-Brocot search finding the simple answer
Open this exampleAs a fraction5
degenerate case
Open this exampleFormula version 1.0.0 · definition 1.0.0 · India · Report a problem with this calculator