Problem I have some embarrassingly long code which puts into words any number up into the trillions. As a newbie, […]
Tag: numbers-to-words
Convert a number to text
Problem This converts a “numerical number” to a text representation, for example: convert 1234 –> “One Thousand, Two Hundred Thirty […]
One, two, three, … Un, deux, trois, …, maxBound::Int
Problem I wrote a numbers-to-words converter for English, then tried to adapt the code to work for French. I’m wondering […]
Number to Text converter in Haskell
Problem I’ve written this code in Haskell to convert a number into its written form. It feels ok but at […]
Converting a number into Hungarian text
Problem I’d like to convert some integer number from a cell between 0 and 1,000,000,0000 into Hungarian text. I’ve found […]
Method to convert numbers into plain text
Problem I’m relatively new to Java, and over the past week or so I’ve just been reading through the docs […]
Number to text conversion (Check writing application)
Problem How It Works: Inspired by r/dailyprogrammer, the application uses regular expressions to group 1-3 digits at a time from […]
Converting int values in Java to human readable strings in English
Problem (See also the next iteration.) I have rolled this short program that converts int values to the human readable […]
Converting number to words
Problem First it asks for user to input a number and it will convert it into words. For example: 104382426112 […]
Converting numbers to words in Haskell
Problem Here’s a program I wrote to convert numbers into English words using Haskell. import Data.Char import Data.List type WordNum […]
- 1
- 2