What else would you want?
to round to 20ths, (handy for some strange lot sizing that goes up in 0.05 increments)
try
double lotsUpIn20ths = MathAbs(exactLots * 20 + 19) / 20;
double lotsNearestIn20ths = MathAbs(exactLots * 20 + 10) / 20;
double lotsDownIn20ths = MathAbs(exactLots * 20) / 20;
NB code just typed; not compiled or checked

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
Hi
I was wondering if anyone can tell what options are available for rounding a figure?
For example I know the normalizedouble code and thats about it.
Thanks
Antony