terminal 604 calculate problom

 
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
 

Hello,

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


This time, I edited it for you.

 
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
Reason: