Class Float
In: lib/ferret/number_tools.rb
Parent: Object

Methods

=~  

Public Instance methods

Return true if the float is within precision of the other value o. This is used to accomodate for floating point errors.

o:value to compare with
precision:the precision to use in the comparison.
return:true if the match is within precision

[Validate]