Sha256: 1c002ba19301d87a116c4296df97c080a5e44d7f3c92d1385fc59565708e2e7d

Contents?: true

Size: 347 Bytes

Versions: 13

Compression:

Stored size: 347 Bytes

Contents

# Conceptually, rounding is one expects to apply to floating point numbers.
# However it can actually be applied to prettu much and Numeric object.
# For example, one could round an Integer to the nearest kilo. So the
# actual round.rb lib is in the numeric folder, but we'll add this tub 
# here for convenience.

require 'facets/numeric/round'

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
facets-2.0.1 lib/core/facets/float/round.rb
facets-2.0.0 lib/core/facets/float/round.rb
facets-2.0.2 lib/core/facets/float/round.rb
facets-2.0.5 lib/core/facets/float/round.rb
facets-2.1.1 lib/core/facets/float/round.rb
facets-2.1.2 lib/core/facets/float/round.rb
facets-2.0.3 lib/core/facets/float/round.rb
facets-2.0.4 lib/core/facets/float/round.rb
facets-2.1.0 lib/core/facets/float/round.rb
facets-2.1.3 lib/core/facets/float/round.rb
facets-2.2.0 lib/core/facets/float/round.rb
facets-2.2.1 lib/core/facets/float/round.rb
facets-2.3.0 lib/core/facets/float/round.rb