Class Float
In: lib/facet/float/round.rb
Parent: Object

Methods

approx?   round_at   round_to  

Public Instance methods

Determines if another number is approximately equal within a given _n_th degree. Defaults to 100ths if degree is not specified.

Rounds off at the given decimal position.

Rounds to the nearest _n_th. If no _n_th is given, then defaults to nearest 100th.

[Validate]