moneyutils

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Multiply

func Multiply(a, b float64) float64

Multiply returns result of multiplication of two float64.

func Parse

func Parse(raw string) (float64, error)

Parse float from string.

func Round

func Round(a float64, places int32) float64

Round rounds the decimal to places decimal places. If places < 0, it will round the integer part to the nearest 10^(-places).

func ToString

func ToString(v float64) string

ToString converts float to string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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