Function check_fixed_precision

Source
pub fn check_fixed_precision(precision: u8) -> Result<()>
Expand description

Checks if a given precision value is within the allowed fixed-point precision range.

ยงErrors

Returns an error if precision exceeds FIXED_PRECISION.