package
1.0.26
Repository: https://github.com/askasoft/pango.git
Documentation: pkg.go.dev

# Functions

Abs returns the absolute value of x.
AbsFloat32 returns the absolute value of x.
AbsFloat64 returns the absolute value of x.
AbsInt returns the absolute value of x.
AbsInt16 returns the absolute value of x.
AbsInt32 returns the absolute value of x.
AbsInt64 returns the absolute value of x.
Atol use strconv.ParseFloat(s, 64) to parse string 's' to float64, return n[0] if error.
Atoi use strconv.ParseInt(s, 0, strconv.IntSize) to parse string 's' to int, return n[0] if error.
Atol use strconv.ParseInt(s, 0, 64) to parse string 's' to int64, return n[0] if error.
Comma produces a string form of the given number in base 10 with commas after every three orders of magnitude.
CommaFloat produces a string form of the given number in base 10 with commas after every three orders of magnitude.
CommaFloatWithDigits works like the Commaf but limits the resulting string to the given number of decimal places.
CommaInt produces a string form of the given number in base 10 with commas after every three orders of magnitude.
CommaString produces a string form of the given number string in base 10 with commas after every three orders of magnitude.
CommaUint produces a string form of the given number in base 10 with commas after every three orders of magnitude.
CustomSize returns a human-readable approximation of a size using custom format.
Ftoa converts a float to a string with no trailing zeros.
FtoaWithDigits converts a float to a string but limits the resulting string to the given number of decimal places, and no trailing zeros.
HumanSize returns a human-readable approximation of a size with specified precision digit numbers (default: 2) (eg.
IfZero returns (a == 0 ? b : a).
No description provided by the author
No description provided by the author
MustParseSize returns an integer from a human-readable size using windows specification (KB = 1024B).
MustParseSizeF returns a float64 from a human-readable size using windows specification (KB = 1024B).
ParseSize returns an integer from a human-readable size using windows specification (KB = 1024B).
ParseSizeF returns a float64 from a human-readable size using windows specification (KB = 1024B).
No description provided by the author

# Constants

1152921504606846976.
No description provided by the author
No description provided by the author
No description provided by the author
1125899906842624.
1099511627776.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author