Structsยง
- Decimal128
- 128bit decimal, using the i128 to represent the decimal.
Constantsยง
- BYTES_
TO_ ๐OVERFLOW_ RUST_ DECIMAL - The maximum bytes length that an accurate RustDecimal can represent
- DECIMA
L128_ DEFAULT_ SCALE - The default scale for Decimal128 values
- DECIMA
L128_ MAX_ PRECISION - The maximum precision for Decimal128 values
- DECIMA
L128_ MAX_ SCALE - The maximum scale for Decimal128 values
Functionsยง
- format_
decimal_ ๐str - Port from arrow-rs, see https://github.com/Apache/arrow-rs/blob/master/arrow-array/src/types.rs#L1323-L1344
- valid_
precision_ ๐and_ scale - check whether precision and scale is valid