Class: Fixnum (Ruby 2.2.3)
Description: Class : Fixnum - Ruby 2.2.3

- Home
- Core 2.2.3
- Std-lib 2.2.3
- Downloads

Support for the Ruby 2.2 series has ended. See here for reference.

### Home Classes Methods

### In Files

- mathn.rb

### Parent

Object

### Class/Module Index

Quicksearch

- Bignum
- Fixnum
- Math
- Numeric
- Object

No matching classes.

# Fixnum

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