Float

class Float

Parent:
Numeric

BigDecimal extends the native Float class to provide the to_d method.

When you require BigDecimal in your application, this method will be available on Float objects.

Float objects represent inexact real numbers using the native architecture's double-precision floating point representation.

Floating point has a different arithmetic and is an inexact number. So you should know its esoteric system. see following: