I need to change an int or float to a string. I don't know whether the number is going to be a float or an int, and casting to a string doesn't seem to work. any suggestions?
Printable View
I need to change an int or float to a string. I don't know whether the number is going to be a float or an int, and casting to a string doesn't seem to work. any suggestions?
Check out the faq and change the function to a templated function so you can use floats