adding floating point number

fixed the floating point result