No description
Find a file
Thiago Navarro 525a668eb8 update docs
2021-08-13 02:49:27 +00:00
docs update docs 2021-08-13 02:49:27 +00:00
src Version 0.1.0! 2021-08-13 02:42:55 +00:00
tests init 2021-08-12 19:28:49 +00:00
.gitignore Version 0.1.0! 2021-08-13 02:42:55 +00:00
changelog.md Version 0.1.0! 2021-08-13 02:42:55 +00:00
license Version 0.1.0! 2021-08-13 02:42:55 +00:00
numToWord.nimble Version 0.1.0! 2021-08-13 02:42:55 +00:00
readme.md Version 0.1.0! 2021-08-13 02:42:55 +00:00

numToWord

This lib converts the number (currently just int) to words (one, two...)

The implementation is currently just in english, but more will be added (need refactor a little bit)


Usage

import numToWord

doAssert 1.toWord == "one"
doAssert 123_456.toWord == "one hundred, twenty three thousand, four hundred, fifty six"

Installation

Minimum Nim version is 1.2.2

Please choice one installation method:

  • Automatically with nimble
    nimble install https://github.com/thisago/numToWord
    

Or

  • Manually
    git clone https://github.com/thisago/numToWord
    cd numToWord/
    nimble install
    

Docs

A online docs is hosted in Github Pages


License

MIT