money

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidAmount = errors.New("amount must be a positive whole number of INR rupees")

Functions

func FormatPaise

func FormatPaise(paise int64) string

func ParseAmount

func ParseAmount(text string) (int64, error)

func ParseWholeRupees

func ParseWholeRupees(raw json.RawMessage) (int64, error)

func RupeesToPaise

func RupeesToPaise(rupees int64) (int64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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