NWitoa
Converts an integer to a string
#include <nwlocale.h>
pnstr N_API NWitoa (
nint value,
pnstr string,
nuint radix);
uses netwin32
Function NWitoa
(value : nint;
str : pnstr;
radix : nuint
) : pnstr;
Returns a pointer to the string.
NWitoa converts the digits of the specified value parameter to a NULL-terminated character string and stores the results in the string parameter.
If the radix parameter equals 10 and the value parameter is negative, the first character of the returned string is the minus sign. Otherwise, the value is treated as an unsigned value.
NWitoa returns NULL if an invalid value is passed into the radix parameter.
The string parameter must be pointing to a buffer large enough to contain the number being converted.