satoshi

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: ISC Imports: 0 Imported by: 0

Documentation

Overview

Package satoshi - 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

FromByteString - 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