ftos

From Quake Wiki

Syntax:[edit]

string ftos(float f)

Converts a float into a string to allow it to be printed to the console or displayed in a centerprint.

Parameters:[edit]

f - The float value to convert

Returns:[edit]

Returns a string representation of the float.

Other Details:[edit]

The string value returned by this function always points to the same area in memory. Running this function multiple times in the same frame will cause all strings to be set to the last float converted.