15/6 is an integer division so the input to ceil and floor is always 2, they won't change it.
Of course it does.
On MT4 v434, division quotient don't give floating point values(Bug??) - MQL4 programming forum 2012.09.18
On MT4 v434, division quotient don't give floating point values(Bug??) - MQL4 programming forum 2012.09.18

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
i am trying to round up the double value , for example if i have 2.3 then i am trying to make 3 and i though MathCeil() / Ceil() is the way to go but its giving me same result as floor()
above code should give me 3.0 , right ? but its giving me 2.0 and floor is giving me 2.0 as well