how exactly are you programming the calculation (are you casting the result as an integer by any chance?) and how exactly are you programming the reporting of the result of the calculation (numbers in strings get truncated at 4 digits unless you use DoubleToStr).
skyforex, a lot of the 'double' related information that so many beginners are
having trouble with can be found here -> "Working with Doubles in MQL4". I
recommend u read it.

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
Hello,
I have a double value of 0.00045 and need to divide it by 2000 to get the average value.
But the result I get is 0.
Is there a function to do this?