Download MetaTrader 5

terminal 604 calculate problom

To add comments, please log in or register
47803124
157
47803124  
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
31183
Alain Verleyen  

Hello,

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


This time, I edited it for you.

Alain Verleyen
Moderator
31183
Alain Verleyen  
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