github.com/moul/number-to-words

convert number into words (english, french, italian, roman, spanish, portuguese, belgium, dutch, swedish, polish, russian, iranian, roman, aegean)


Keywords
aegean, convert-numbers, dutch, english, french, iranian, italian, number, number-converter, number-spelling, number-to-words, numbers-to-text, polonesa, portuguese, roman, roman-numbers, russian, spanish, swedish
License
Apache-2.0
Install
go get github.com/moul/number-to-words

Documentation

number-to-words

GoDoc

CLI usage

$ number-to-words 42
quarante-deux

API usage

import "github.com/moul/number-to-words"

fmt.Println(ntw.IntegerToFrench(42)) // Outputs: quarante-deux

License

MIT