Download MetaTrader 5

StringToDouble or StrToDouble

To add comments, please log in or register
macpee
507
macpee  
Please can someone explain to me in simple terms the difference between StringToDouble() and StrToDouble() functions? The documents did not seem to differentiate between the two to my understanding.
Alain Verleyen
Moderator
34443
Alain Verleyen  
It's the same.

Prefer to use StringToDouble() for mql4/mql5 compatibility.
macpee
507
macpee  
Alain Verleyen:
It's the same.

Prefer to use StringToDouble() for mql4/mql5 compatibility.
They cannot possibly be the same in one programming language without stating so in the documentation. Besides they have different explanations, only no example for one.
Carl Schreiber
Moderator
7835
Carl Schreiber  
StrToDouble() was/is ONLY for mql4, StringToDouble() is for Mql4 and Mql5.
macpee
507
macpee  
Carl Schreiber:
StrToDouble() was/is for mql4, StringToDouble() is for Mql4 and Mql5.
Ok now
Alain Verleyen
Moderator
34443
Alain Verleyen  
Carl Schreiber:
StrToDouble() was/is ONLY for mql4, StringToDouble() is for Mql4 and Mql5.
Which is exactly what I wrote. You must have something special to get an "Ok now".
To add comments, please log in or register