numToWord
Convert numbers to words
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-22 05:28 |
Tags
Installation
nimble install numToWord
choosenim install numToWord
git clone https://github.com/thisago/numToWord
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| numToWord | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/thisago/numToWord |
|---|---|
| Homepage | https://github.com/thisago/numToWord |
| Registry Source | nimble_official |
README
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
bash
nimble install https://github.com/thisago/numToWord
Or
- Manually
bash
git clone https://github.com/thisago/numToWord
cd numToWord/
nimble install
Docs
A online docs is hosted in Github Pages
License
MIT