FloatToString Function

Converts a floating point number to a string.

int FloatToString(float num, char[] str, int maxlength)

Parameters

float num

Floating point number to convert.

char[] str

Buffer to store string in.

int maxlength

Maximum length of string buffer.

Return Value

Number of cells written to buffer.