Module tiberius::numeric

source ·
Expand description

Representations of numeric types.

Structs

BigDecimalbigdecimal
A big decimal type.
BigIntbigdecimal
A big signed integer type.
Decimalrust_decimal
Decimal represents a 128 bit representation of a fixed-precision decimal number. The finite set of values of type Decimal are of the form m / 10e, where m is an integer such that -296 < m < 296, and e is an integer between 0 and 28 inclusive.
Represent a sql Decimal / Numeric type. It is stored in a i128 and has a maximum precision of 38 decimals.