internal/number: add Decimal type
Decimal is used as an intermediate format of numbers before
formatting or determining the plural form.
This type supports converting a variety of number types
to decimal form. It also supports rounding modes that
are commonly provided for localization purposes.
Run-TryBot: Marcel van Lohuizen <firstname.lastname@example.org>
TryBot-Result: Gobot Gobot <email@example.com>
Reviewed-by: Nigel Tao <firstname.lastname@example.org>
3 files changed