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 computing

my program below :

float fa=123;
float fb=123.456;
float answer;

main()
{ answer=fb-fa;
}

but answer=0.4560013 not 0.456 , why?
anyone help me please.

Parents Reply Children