Sha256: c2ba0ec9e3f73a5a5dd5c150419596baa68ab6daffcffbb7ab32d156501e914d

Contents?: true

Size: 70 Bytes

Versions: 1

Compression:

Stored size: 70 Bytes

Contents

class Float
  def nearest_half
    (self * 2.0).round / 2.0
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
heartwood-0.0.1 lib/heartwood/support/float.rb