satoshi

package
v0.4.12 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2017 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