Please read this topic Division quotient don't give floating point values(Bug??) - MQL4 forum
Thank you.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi, why code below output zero which is wrong?
double b=0;
b=30/100;
printf(b); //output zero wrong
and code below output is correct.
double b=0;
b=30.0/100.0;
printf(b); //output 0.3 correctly
Thanks.