| <<< Rational number examples | Index | Binary member operator syntax >>> |
Rational numbers are used excessively in geometry.
To yield a floating point approximation of a rational, a method
double fraction = Rational(1,3).to_double();
could be used.
For more information, see of the programming tools.
| <<< Rational number examples | Index | Binary member operator syntax >>> |