mql5 remove leading zeros from double value
Demosfen:
Hi everyone,
is there a way in mql5 to convert double value = 0,056 into 5,6
and 0,00024 into 2,4?
Thanks in advance!
is it a string?
Mohamad Zulhairi Baba:
No, it is double.
is it a string?
0.00024 / _Point = 24. 0.00024 / PIP = 2.4. Compute what a PIP is and use it,
not points.
How to manage JPY pairs with parameters? - MQL4 and MetaTrader 4 - MQL4 programming forum
Slippage defined in index points - Currency Pairs - Expert Advisors and Automated Trading - MQL5 programming forum
How to manage JPY pairs with parameters? - MQL4 and MetaTrader 4 - MQL4 programming forum
Slippage defined in index points - Currency Pairs - Expert Advisors and Automated Trading - MQL5 programming forum
whroeder1:
0.00024 / _Point = 24. 0.00024 / PIP = 2.4. Compute what a PIP is and use it, not points.
How to manage JPY pairs with parameters? - MQL4 and MetaTrader 4 - MQL4 programming forum
Slippage defined in index points - Currency Pairs - Expert Advisors and Automated Trading - MQL5 programming forum
0.00024 / _Point = 24. 0.00024 / PIP = 2.4. Compute what a PIP is and use it, not points.
How to manage JPY pairs with parameters? - MQL4 and MetaTrader 4 - MQL4 programming forum
Slippage defined in index points - Currency Pairs - Expert Advisors and Automated Trading - MQL5 programming forum
Thank you.
Hi everyone,
is there a way in mql5 to convert double value = 0,056 into 5,6
and 0,00024 into 2,4?
Thanks in advance!