Where in the documentation can I learn about this kind of code? %G and %d

To add comments, please log in or register
afiverestatcastle
39
afiverestatcastle  
Comment(StringFormat("Show prices\nAsk = %G\nBid = %G\nSpread = %d",Ask,Bid,Spread));

Where in the documentation can I learn about this kind of code? %G and %d

Thanks.
  
Marco vd Heijden
Moderator
12405
Marco vd Heijden  
Documentation on MQL5: Common Functions / PrintFormat
Documentation on MQL5: Common Functions / PrintFormat
  • www.mql5.com
The number, order and type of parameters must exactly match the set of qualifiers, otherwise the print result is undefined. Instead of PrintFormat() you can use If the format string is followed by parameters, this string must contain format specifications that denote output format of these parameters. Specification of format always starts with...
To add comments, please log in or register