currency

package
v0.0.0-...-b631e0d Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertPenniesToDollarString

func ConvertPenniesToDollarString(amount int64) string

ConvertPenniesToDollarString takes a penny amount as an int64 and returns a dollar string representation

func ConvertStringDollarsToPennies

func ConvertStringDollarsToPennies(amount string) (int64, error)

ConvertStringDollarsToPennies takes a dollar amount as a string, i.e. 1.00, 55.12 etc and converts it into an int64

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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