how to calculate % in mql5?
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
hey boys, how can i calculate of any number in percentage in mql5 ? i could not find the function
for example 20% of 12345