Class: Fixnum
- Inherits:
-
Object
- Object
- Fixnum
- Defined in:
- lib/mathn.rb
Overview
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