Game Development Community

Displaying floating point in GuiTextCtrl?

by JoAnn Espinoza · in Torque Game Builder · 04/09/2007 (12:46 pm) · 0 replies

Hi everyone,

I haven't been able to find the answer in posts--but what I'm trying to do is display a formatted string into a GuiTextCtrl. For example, "10.00" currently renders as just "10" and "10.90" renders as "10.9". I'd like to render two places after the decimal all the time.

Thanks,

JoAnn.

About the author

Recent Threads