Download MetaTrader 5

Formatted Number within a String Variable

To add comments, please log in or register
vivs
48
vivs  

Hi

How may I include a formatted (say float type) variable's value within a string variable?

Thanks in Advance 

whroeder1
16108
whroeder1  

Easiest: StringFormat("float %f within a string", aDouble)

Less: "float " + DoubleToString(aDouble, _Digits) + " within a string"

vivs
48
vivs  
Thanks :)
To add comments, please log in or register