Birkimson Varzxorani:
for example 20% of 12345
12345*20.0/100.0
Nikolay Georgiev:
yeah,that makes sense. nikolay The Savior !
you can always define your own function if you are using this multiple times in your code
Vladimir Karputov:
thanks. that was cool, an additional 0 solves problem
12345*0.2
![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
hey boys, how can i calculate of any number in percentage in mql5 ? i could not find the function
for example 20% of 12345