Function arrow_cast::parse::parse_decimal
source · pub fn parse_decimal<T: DecimalType>(
s: &str,
precision: u8,
scale: i8,
) -> Result<T::Native, ArrowError>
Expand description
Parse the string format decimal value to i128/i256 format and checking the precision and scale. The result value can’t be out of bounds.