Maintainer | hapytexeu+gh@gmail.com |
---|---|
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module contains logic to convert numbers to words in the Dutch language.
Num to word algorithm
:: NumeralsAlgorithm | A |
A NumeralsAlgorithm
to convert numbers to words in the Dutch language.
Convert to ordinal
ordinize' :: Text -> Text Source #
A function that converts a number in words in cardinal form to ordinal form according to the Dutch language rules.
Constant words
negativeWord' :: Text Source #
The words used to mark a negative number in the Dutch language.
Names for numbers
lowWords' :: Vector Text Source #
A Vector
that contains the word used for the numbers two to twenty in the Dutch language.
midWords' :: [(Integer, Text)] Source #
A list of 2-tuples that contains the names of values between thirty and thousand in the Dutch language.
highWords' :: HighNumberAlgorithm Source #
An algorithm to obtain the names of large numbers (one million or larger)
in Dutch. Dutch uses a long scale with the iljoen
and iljard
suffixes.