NWstrnum
Formats a number for a specific country and returns the number in a string
#include <time.h> or #define NWL_EXCLUDE_TIME
#include <stdio.h> or #define NWL_EXCLUDE_FILE
#include <nwlocale.h>
pnstr N_API NWstrnum (
pnstr buffer,
NUMBER_TYPE Value);
uses netwin32
Function NWstrnum
(buffer : pnstr;
Value : NUMBER_TYPE
) : pnstr;
Returns a pointer to the string parameter.
If country code 033 (France) was used and 3498 was passed in the Value parameter, NWStrnum will return 3.498.
Examples:
locale number formatted value
US 1234 1,234 FRANCE 1234 1.234