Skip to content

About

The go package for converting numbers to readable text

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

Repository files navigation

numconword Coverage Status Go Report Card Go Reference

What is numconword?

numconword is a Go library for converting any type of numbers into readable words

  • numconword prioritizes big number handling — You could convert numbers as big as you want

Quick start

  1. Installation
go get -u github.com/sujamess/numconword
  1. Let's convert!
package main

import (
    "fmt"
    
    "github.com/sujamess/numconword"
)

func main() {
    readableWords, err := numconword.ConvertFloat64(123456.78)
    if err != nil {
        // handle error
    }
    
    // one hundred twenty three thousand fifty six point seventy eight
    fmt.Println(readableWords)
}

Contribution

I'll really appreciate contributions! This library has a lot of things to work on (translation, performance improvement, add more test cases, etc.)

About

The go package for converting numbers to readable text

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages