diff options
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | libnumtext.h | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -Add [libnumtext_]text2num: text to digits, with analysis (possible flags from num2text) +Add [libnumtext_]text2num: text to numerals, with analysis (possible flags from num2text), use support mixed in numerals Add [libnumtext_]card2ord: convert cardinal in digits to ordinal in digits with necessary text (like superiors in English) Add num2text: conversion utility that wraps libnumtext_num2text Add numtext-strip: utility that wraps libnumtext_remove_separators diff --git a/libnumtext.h b/libnumtext.h index c484e51..933588e 100644 --- a/libnumtext.h +++ b/libnumtext.h @@ -31,10 +31,10 @@ enum libnumtext_language { #define LIBNUMTEXT_N2T_SWEDISH_FEMININE_GENDER UINT32_C(0x00000030) /* en/första, två/andra, … */ #define LIBNUMTEXT_N2T_SWEDISH_EXPLICIT_ONE UINT32_C(0x00000000) /* …, ettusen, … */ -#define LIBNUMTEXT_N2T_SWEDISH_IMPLICIT_ONE UINT32_C(0x00000040) /* …, tusen, … */ +#define LIBNUMTEXT_N2T_SWEDISH_IMPLICIT_ONE UINT32_C(0x00000040) /* …, tusen, … (informal unless used with DENOMINATOR) */ #define LIBNUMTEXT_N2T_SWEDISH_NOT_HYPHENATED UINT32_C(0) -#define LIBNUMTEXT_N2T_SWEDISH_HYPHENATED UINT32_C(0x00000080) /* …, femhundra-trettio-två, … */ +#define LIBNUMTEXT_N2T_SWEDISH_HYPHENATED UINT32_C(0x00000080) /* …, femhundra-trettio-två, … (avoid) */ #define LIBNUMTEXT_N2T_SWEDISH_LOWER_CASE UINT32_C(0) /* …, femhundratrettiotvå, … */ #define LIBNUMTEXT_N2T_SWEDISH_MONEY_CASE UINT32_C(0x00000100) /* …, FemhundraTrettioTvå, … */ |