float to decimal

Floating points are not precisely represented in binary. Decimal should
be used in sensitive arithmetic such as finance calculations.