Quick guide
How to use this calculator
- Enter values using the notation shown beside each field.
- Choose a calculation mode when the tool offers more than one interpretation.
- Read the primary answer first, then inspect the supporting details.
Calculation method
Apply the stated definition
Minimise |x − n/d| over the selected candidates.
The calculator validates the mathematical domain before returning a result and does not replace undefined states with zero.
Worked example
Worked example
3.14159 with limit 100 is closest to 311/99.
Minimise |x − n/d| over the selected candidates.
Supported inputs
Precision and limits
Finite, bounded input
Integers, finite decimals, fractions, and mixed numbers are evaluated with exact rational arithmetic wherever the operation permits.
Notation
Enter fractions as a/b and mixed numbers as w n/d. A denominator can never be zero.
