$numerator
$numerator : integer
Numerator
Class representing a fraction number
simplify() : \Tazorax\MathUtils\Arithmetic\Fraction
Simplify this fraction
getFromFloat(float $value, float $tolerance = 1.0E-6) : \Tazorax\MathUtils\Arithmetic\Fraction
Create an instance of Fraction from a float value
float | $value | Value to convert |
float | $tolerance | Tolerance (1.e-6 if omitted) |