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.