method

to_i

v1_9_1_378 - Show latest stable - Class: BigDecimal
to_i()
public

Returns the value as an integer (Fixnum or Bignum).

If the BigNumber is infinity or NaN, returns nil.