diff --git a/CurrencyConversion.py b/CurrencyConversion.py index b93011e..3886d04 100644 --- a/CurrencyConversion.py +++ b/CurrencyConversion.py @@ -431,7 +431,7 @@ def input_currency_value(prompt: str, output: OutputJSON) -> float: try: split = amount.split(".") - if len(split) == 2 and len(split[1]) > 2: + if len(split) == 2 and len(split[1]) < 3: print(value_error) continue return float(amount)