package
0.0.0-20241116165817-883d5d7d379c
Repository: https://github.com/ddkwork/toolbox.git
Documentation: pkg.go.dev
# Functions
As returns the equivalent value in the destination type.
CheckedAs is the same as As(), except that it returns an error if the value cannot be represented exactly in the requested destination type.
From creates a new value.
FromString creates a new value from a string.
FromStringForced creates a new value from a string.
MaxDecimalDigits returns the maximum number of digits after the decimal that will be used.
Maximum returns the maximum possible value the type can hold.
MaxSafeMultiply returns the maximum value that can be safely multiplied without overflow.
Minimum returns the minimum possible value the type can hold.
Multiplier returns the multiplier used.
NewFraction creates a new fractional value from a string.