arrow_data::decimal

Function validate_decimal256_precision

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

Validates that the specified i256 of value can be properly interpreted as a Decimal256 number with precision precision