APIdock
/
Ruby
/
Browse
About
class
Integer
v1_8_6_287
-
Show latest stable
- Superclass:
Numeric
Integer
is the basis for the two concrete classes that hold whole numbers,
Bignum
and
Fixnum
.
Included modules
Precision
Files
lib/mathn.rb
lib/rational.rb
lib/yaml/rubytypes.rb
numeric.c
Related methods
Instance methods
ceil
chr
denominator
downto
floor
gcd
gcd2
gcdlcm
integer?
lcm
next
numerator
prime_division
round
succ
times
to_i
to_int
to_r
to_yaml
truncate
upto
Class methods
from_prime_division
induced_from