tm -= tm % 44;
zdj231:
tm -= tm % 44;
tm is made equal to tm - the remainder after the division of tm/44
tm -= tm % 44;
i can't compile the code,but i see an EA use this,why
zdj231:
i can't compile the code,but i see an EA use this,why
i can't compile the code,but i see an EA use this,why
Because it may make sense because of the other code in the EA.
Without knowing the rest of the code, nobody can answer your question.
It's like me asking you "Why did I have chicken soup for breakfast this morning?"
GumRai:
the code is blow,thank you
int tm=100;
tm -= tm % 44;
Alert(tm);
Because it may make sense because of the other code in the EA.
Without knowing the rest of the code, nobody can answer your question.
It's like me asking you "Why did I have chicken soup for breakfast this morning?"
zdj231:
the code is blow,
? ?
the code is blow,
RaptorUK:
? ?
my code is
int tm=100;
tm -= tm % 44;
Alert(tm);
? ?
int tm=100;
tm -= tm % 44;
Alert(tm);
zdj231:
int tm=100; tm -= tm % 44; Alert(tm);
OK, what is your issue, question, point or problem ?
int tm=100; tm -= tm % 44; Alert(tm);
RaptorUK:
OK, what is your issue, question, point or problem ?
why the code output is 88
OK, what is your issue, question, point or problem ?
zdj231:
why the code output is 88
why the code output is 88
because that's the answer
100 = 2 * 44 + 12 (tm%44 remainder is 12 )
tm -= tm % 44 you write this now as 100 = 100 - (remainder 100/44)

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