Game Development Community

How to convert U32 to String

by Ryan Bailey · in Technical Issues · 06/08/2007 (11:33 am) · 2 replies

Does anyone know how to convert a U32 to a String? I'm trying to make a clock gui control and I need to set the time to a label which takes a string. I know there must be a function in the engine somewhere but I can't find it.

#1
06/08/2007 (4:07 pm)
Ryan - yeah you want to use the dSprintf() function with your format as %d, if you search through the engine you'll see it's used all over the place.
#2
06/09/2007 (11:42 am)
Thanks a bunch