Skip to main content

decimal_chunk_to_native

Function decimal_chunk_to_native 

Source
fn decimal_chunk_to_native<T: DecimalType>(
    chunk: u64,
    negative: bool,
) -> Result<T::Native, DecimalParseError>
Expand description

Converts a chunk of at most MAX_CHUNK_DIGITS digits to the native type, negated if negative.