![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
StringFormat
for me not work also stringformat where is the problem f.....
%.xf where x is your number of digits after decimal point, e.g. %.3f gives you 123.456
%.xf where x is your number of digits after decimal point, e.g. %.3f gives you 123.456
thanks now work
I do not have MT4 , but you could do this test to check
"print_check.mq4" script:
If the output in experts log is something different than:
Then, the issue with the Print() function in MetaTrader 4 is not fixed (as MT4 is no longer maintained).
I do not have MT4 , but you could do this test to check
"print_check.mq4" script:
If the output in experts log is something different than:
Then, the issue with the Print() function in MetaTrader 4 is not fixed (as MT4 is no longer maintained).
quoting the problem i must use " not ' in int dotIndex = StringFind(numStr, "."); thanks again
You could try this function from 'math_utils' library https://www.mql5.com/en/code/25723
Now, re-try the previous example:
Also there is another useful function in the library: