This class is the basis for the two concrete classes that hold whole numbers, Bignum and Fixnum.
BigDecimal extends the native Integer class to provide the #to_d method.
When you require the BigDecimal library in your application, this methodwill be available on Integer objects.
Add double dispatch to Integer