numbertowords

package module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2021 License: MIT Imports: 1 Imported by: 0

README

numbertowords

A library for converting numbers to words.

Documentation

Overview

Package numbertowords allows numbers to be converted to English words

Index

Constants

View Source
const MaxNumber = 99999

MaxNumber is the largest number that this version of numberstowords can convert into words.

Variables

This section is empty.

Functions

func Convert

func Convert(number int) (string, error)

Convert converts an integer number between 0 and MaxNumber to words. If passed a number outside the valid range, it returns an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL