Download MetaTrader 5

printf or StringFormat separating thousands

To add comments, please log in or register
What is MetaQuotes ID? Find that out from the article!
Drazen Penic
2544
Drazen Penic 2014.05.28 15:50 

Is there a way to format a number with printf to separate thousands like this:  123,456.80

All formats I tried give me 123456.80 

Carl Schreiber
6592
Carl Schreiber 2014.05.28 16:47  

I was looking for such a solution too but failed.

I could believe it: Mt4 is financial program and can't display amounts of money in a comfortable way :(

honest_knave
Moderator
2216
honest_knave 2014.05.28 17:37  
To add comments, please log in or register