Download MetaTrader 5

Formatted Number within a String Variable

To add comments, please log in or register
vivs
48
vivs 2015.06.10 12:21 

Hi

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

Thanks in Advance 

whroeder1
14765
whroeder1 2015.06.10 13:47  

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

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

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