alitoh
11th April 2011, 13:57
I need to pass the float value of an objects property to a string, which is another property of that same object, so that it can be printed in by the painter.
The thing is, I have no idea how to either:
a)Convert a float to a string.
b)Pass a float as a parameter to a string.
I tried googling first but, surprisingly, no useful answers have shown up. (Maybe I'm searching with the wrong keywords).
Can I get any insight into this? Thanks in advance.
The thing is, I have no idea how to either:
a)Convert a float to a string.
b)Pass a float as a parameter to a string.
I tried googling first but, surprisingly, no useful answers have shown up. (Maybe I'm searching with the wrong keywords).
Can I get any insight into this? Thanks in advance.