gtbox_hashrate

package
v0.0.49 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GTHashRateFormat added in v0.0.44

func GTHashRateFormat(hs *big.Float) string

GTHashRateFormat 哈希显示单位计算公式 以H/s 为单位传入,根据数值不同换算成进制单位MH/s、GH/s等, 默认保留3位小数点 hs Hash算力值

func GTHashRateFormatWithSed added in v0.0.44

func GTHashRateFormatWithSed(hs *big.Float, fSed int) string

GTHashRateFormatWithSed 哈希显示单位计算公式 以H/s 为单位传入,根据数值不同换算成进制单位PH/s、EH/s、ZH/s、YH/s等 hs Hash算力值 fSed 此参数标识保留机位小数点

Types

This section is empty.

Jump to

Keyboard shortcuts

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