Why does calculation result in ZERO - page 2

 
peterhw1:

Thanks very much for your help.

Should this type of problem be reported somewhere for a bug fix (I assume most folk would regard this as a bug)

Glad to hear you are getting there :-)

I don't think this is a bug, I think it is Type Casting . . .

https://docs.mql4.com/basis/types/casting

 
RaptorUK:

Glad to hear you are getting there :-)

I don't think this is a bug, I think it is Type Casting . . .

https://docs.mql4.com/basis/types/casting

Never realised this aspect (as in the link) - the idea that 100 is treated differently than 100.0 is something that comes with experience

Thanks again RaptorUK (and all others) for continued support via this forum.