arrow_data::decimal

Function validate_decimal_precision

Source
pub fn validate_decimal_precision(
    value: i128,
    precision: u8,
) -> Result<(), ArrowError>
Expand description

Validates that the specified i128 value can be properly interpreted as a Decimal number with precision precision