#include <time.h> or #define NWL_EXCLUDE_TIME #include <stdio.h> or #define NWL_EXCLUDE_FILE #include <nwlocale.h>char NWFAR
NWAPI NWstrImoney (char NWFAR
buffer, NUMBER_TYPE Value);
The last 2 or 3 (some locales) digits of Value are always
formatted as the smallest money units for that locale. The type of this
variable is double
.
NWstrImoney is different from NWstrmoney; it provides one of the following country prefixes in buffer:
BELGIUM BEF CANADA_FR CAD DENMARK DKK FINLAND FIM FRANCE FRF GERMANY DDM ITALY ITL NETHERLANDS NLG NORWAY NOK PORTUGAL PTE SPAIN ESP SWEDEN SEK SWITZERLAND SFR UK GBP USA USD JAPAN JPY KOREA KRW PRC CNY TAIWAN TWD
Examples:
locale number formatted value
US 1234 USD 12.34 FRANCE 1234 FRF 12,34For example, if country code 033 (France) were used and 3498 is passed in Value, the output string would be ``FRF 34,98''.