This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Float number problem with precision

Hello,
i Have problem with Cx51 compiler, that is when ever iam using floating number

  lng=1723.4545;
   lng=*0.01745329252;
  
Expected lng is 30.07995553341034
but its rounding to 30.0799
please help me that i want exact number with minimum 15 digits after decimal point, i dont want rounding the values.

KEIL cx51 defaultly its round to 4/5 digits

its urgent.

Thanks & regards
Kiran Kumar D
kiran.sreego@yahoo.com

0