package
0.15.10
Repository: https://github.com/estuary/vitess.git
Documentation: pkg.go.dev

# Functions

New returns a new fixed-point decimal, value * 10 ^ exp.
NewFromFloat converts a float64 to Decimal.
No description provided by the author
No description provided by the author
NewFromInt converts a int64 to Decimal.
No description provided by the author
NewFromString returns a new Decimal from a string representation.
No description provided by the author
RequireFromString returns a new Decimal from a string representation or panics if NewFromString would have returned an error.
RescalePair rescales two decimals to common exponential value (minimal exp of both decimals).
SizeAndScaleFromString gets the size and scale for the decimal value without needing to parse it.

# Constants

No description provided by the author
MyMaxBigDigits is the largest amount of "big digits" that MySQL supports See: myBigDigits.
MyMaxPrecision is the largest precision on a decimal that MySQL supports.
MyMaxScale is the largest scale on a decimal that MySQL supports.

# Variables

Zero constant, to make computations faster.

# Structs

Decimal represents a fixed-point decimal.