Download MetaTrader 5
To add comments, please log in or register
Find out how to install MetaTrader on Mac OS
47803124
154
47803124 2014.02.11 13:44 
int c=100;
int d=70;
double a=d/c;
Alert(DoubleToStr(a,8));

output 0?

why
I English is very pool,thank your much fo help
Alain Verleyen
Moderator
28666
Alain Verleyen 2014.02.11 14:16  

Hello,

Please use the SRC button when you post code. Thank you.


This time, I edited it for you.

Alain Verleyen
Moderator
28666
Alain Verleyen 2014.02.11 14:20  
zdj231:

output 0?

why
I English is very pool,thank your much fo help
Please read this topic Division quotient don't give floating point values(Bug??) - MQL4 forum
/
To add comments, please log in or register