Documentation ¶
Index ¶
- func FormatBits(bits int64) string
- func FormatBytes(bytes int64) string
- func FormatCount(count int64) string
- func FormatFloat(f interface{}, decimal int) string
- func FormatFloat2(f interface{}) string
- func FormatInt(value int) string
- func FormatInt64(value int64) string
- func Pow1024(n int) int64
- func TrimZeroSuffix(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatBits ¶ added in v0.0.10
func FormatBytes ¶ added in v0.0.9
func FormatCount ¶ added in v0.4.0
func FormatFloat ¶ added in v0.4.7
func FormatFloat2 ¶ added in v0.4.7
func FormatFloat2(f interface{}) string
func FormatInt64 ¶
func TrimZeroSuffix ¶ added in v0.5.6
TrimZeroSuffix 去除小数数字尾部多余的0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.