fn is_decimal(counter_type: &T) -> bool