Object
When mathn is required, Fixnum’s division is enhanced to return more precise values from mathematical expressions.
2/3*3 # => 0 require 'mathn' 2/3*3 # => 2
This page was generated for Ruby 2.3.4
Ruby-doc.org is a service of James Britt and Neurogami, an application development company in Scottsdale, AZ.
Generated with Ruby-doc Rdoc Generator 0.36.0.