work ondecimal to floating point calculations