Skip to main content

decode_decimal_price

Function decode_decimal_price 

Source
pub fn decode_decimal_price(
    values: &Decimal128Array,
    precision: u8,
    field: &'static str,
    row: usize,
) -> Result<Price, EncodingError>
Expand description

Decodes a price from a nullable scale-16 decimal column.

ยงErrors

Returns an EncodingError if the value cannot be represented by this build.