|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
Rationalize
Rationalize[x]
converts an approximate number x to a nearby rational with small denominator.
Rationalize[x, dx]
yields the rational number with smallest denominator that lies within dx of x.
DetailsDetails
- Rationalize[x, dx] works with exact numbers x.
- Rationalize[x] yields x unchanged if there is no rational number close enough to x to satisfy the condition
, with
chosen to be
. - Rationalize[x, 0] converts any x to rational form. »
New in 1 | Last modified in 4
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
