Formatted Number within a String Variable

Back to topics list To post a new topic, please log in or register
avatar
14
Vivs 2015.06.10 14:21
 

Hi

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

Thanks in Advance 

avatar
12985
WHRoeder 2015.06.10 15:47 #
 

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

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

avatar
14
Vivs 2015.06.11 01:18 #
 
Thanks :)
Back to topics list  

To add comments, please log in or register