num2word

package module
v0.0.0-...-909988d Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: MIT Imports: 3 Imported by: 0

README

num2word

GoCard

num2word - Числа прописью

golang package для написания сумм прописью.

Features

В текущей версии реализовано:

UaAmount - гроші прописом українською
RuAmount - гроші прописом російською

Usage

import (
  "github.com/andreychuk/num2word"
)

...

text := num2word.UaAmount(total, true)

License

The MIT License (MIT), see LICENSE.

Documentation

Overview

Package num2word holds Number to words converter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Num2word

func Num2word(number float64, upperFirstChar bool, repl [][]string) string

Num2word - гроші прописом

func RuAmount

func RuAmount(number float64, upperFirstChar bool) string

RuAmount - гроші прописом російською

func UaAmount

func UaAmount(number float64, upperFirstChar bool) string

UaAmount - гроші прописом українською

Types

This section is empty.

Jump to

Keyboard shortcuts

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