Class | Numeric |
In: |
lib/eymiha/math/approximately_equals.rb
lib/eymiha/math/fraction.rb lib/eymiha/math/rectify.rb |
Parent: | Object |
Behavior added to Numeric by eymiha_math.
returns true if the difference between the instance and the given Numeric is less than the given distance.
Treats the low and high as limits, returning low or high if the instance is respectively below or above these values, or the instance if between the two.
Renders a numeric value as a whole number and a fraction with a given denominator, separated with a given separator, and optionally showing fractions with a numerator of zero.