1
0
Convert a numeric value into English words in Go.
This repository has been archived on 2023-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2015-02-02 09:05:58 -08:00
LICENSE Initial commit 2015-02-01 21:19:07 -08:00
numericword_test.go Adding library code and tests 2015-02-02 09:05:58 -08:00
numericword.go Adding library code and tests 2015-02-02 09:05:58 -08:00
README.md Adding library code and tests 2015-02-02 09:05:58 -08:00

Numeric Word

Simple library to convert a number from int64 to a word representation. Currently supports any int64 value.

Installation

$ go get github.com/tgrosinger/numericword

Usage

import "github.com/tgrosinger/numericword"

number := int64(12345)
numerString := numericword.ToWord(number)