Quantcast
Viewing all articles
Browse latest Browse all 5355

Less than symbol problems

Hello everybody,

 

ich have written a code, nothing special.

 

    if(Phi < 0.25)
    {
        A = 1;
    }

 

Now I have a problem. When I get a value Phi = 0.25, Lab Windows jumps into the bracket and writes A=1.

But that is not correct. 0.25 is not smaller, it is equal. Is this a failure of the program or have I forgotten something?

 

Best Regards


Viewing all articles
Browse latest Browse all 5355

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>