pub fn validate_max_decimal_places(value: &str, max: usize) -> ConditionResultExpand description
Validate that a numeric string has at most max decimal places.
Returns True if the value has <= max decimal places (or no decimal point),
False if it has more, Unknown if the value is empty.
Example: validate_max_decimal_places("123.45", 2) → True
Example: validate_max_decimal_places("123.456", 2) → False
Example: validate_max_decimal_places("123", 2) → True (no decimal → 0 places)