this is mean of%
tm -= tm % 44;
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?"
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?"
the code is blow,
? ?
int tm=100; tm -= tm % 44; Alert(tm);
OK, what is your issue, question, point or problem ?
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)