min_increment_precision_from_str

Function min_increment_precision_from_str 

Source
pub fn min_increment_precision_from_str(s: &str) -> u8
Expand description

Returns the minimum increment precision inferred from the given string, ignoring trailing zeros.

For scientific notation with large negative exponents (e.g., “1e-300”), the precision is clamped to u8::MAX (255) to match the behavior of precision_from_str.