satoshi

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2019 License: ISC Imports: 0 Imported by: 0

Documentation

Overview

to convert satoshi values to integers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromByteString

func FromByteString(btc []byte) uint64

convert a string to a Satoshi value

i.e. "0.00000001" will convert to uint64(1)

Note: Invalid characters are simply ignored and the conversion

simply stops after 8 decimal places have been processed.
Extra decimal points will also be ignored.

Types

This section is empty.

Jump to

Keyboard shortcuts

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