IntToString Function

Converts an integer to a string.

int IntToString(int num, char[] str, int maxlength)

Parameters

int num

Integer to convert.

char[] str

Buffer to store string in.

int maxlength

Maximum length of string buffer.

Return Value

Number of characters written to the buffer, not including the null terminator.