Please, help me to solve the problem: <source code> bit Result; float Density; Density = 0.55; if(( Density < 0.54999995) { Result = 0; } else { Result = 1; } While after running this code Result = 0 ?
why do you float? store the value *100, take care of the decimal point in the presentation. Your program will compact and speed up and you will smile like the cheshire cat. Erik