package
0.0.0-20201102054017-282493799a89
Repository: https://github.com/golangltd/leafltd.git
Documentation: pkg.go.dev
# Functions
Decimal formats a number as a floating point decimal.
Engineering formats a number using engineering notation, which is like scientific notation, but with the exponent normalized to multiples of 3.
FormatWidth sets the total format width.
IncrementString sets the incremental value to which numbers should be rounded.
MaxFractionDigits specifies the maximum number of fractional digits.
MaxIntegerDigits limits the number of integer digits, eliminating the most significant digits.
MinFractionDigits specifies the minimum number of fractional digits.
MinIntegerDigits specifies the minimum number of integer digits, adding leading zeros when needed.
NewFormat creates a FormatFunc based on another FormatFunc and new options.
NoSeparator causes a number to be displayed without grouping separators.
Pad sets the rune to be used for filling up to the format width.
PatternOverrides allows users to specify alternative patterns for specific languages.
Percent formats a number as a percentage.
PerMille formats a number as a per mille indication.
Precision sets the maximum number of significant digits.
Scale simultaneously sets MinFractionDigits and MaxFractionDigits to the given value.
Scientific formats a number in scientific format.