Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 858 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 858 Bytes

Build Status

TextToNumberParser

Something of an overkill to transform text to numbers.

Input Output
264 264
Two hundred 64 264
Two hundred and 64 264
Two hundred and sixty 4 264
Two hundred and sixty-four 264

There is only support for positive integers.

Note:

Its one of my first haskell programs. I've seen one-liners that work for e.g. roman numerals so I realize theres a lot of room for improvement.

When I have time I'll work on the following improvements:

  • Floating point numbers
  • Negative numbers