Rationalize Command
From GeoGebra Manual
CAS Syntax
- Rationalize( <Number> )
- Creates the fraction of the given Number, and rationalizes the denominator if appropriate.
- Examples:
Rationalize(3.5)
yields \frac{7}{2}.Rationalize(1/sqrt(2))
yields \frac{\sqrt{2} }{2}.
Note: See also MixedNumber Command.