common_decimal::decimal128

Function valid_precision_and_scale

Source
fn valid_precision_and_scale(precision: u8, scale: i8) -> Result<()>
Expand description

check whether precision and scale is valid