rationalize function
The simplest fraction equal to a decimal number.
How to write it
rationalize(x)
- x
- A decimal number. Takes a number.
Examples
rationalize(0.5)In the solver,
Open in the solverrationalize(0.5)gives1/2.
The simplest fraction equal to a decimal number.
rationalize(0.5)In the solver, rationalize(0.5) gives 1/2.