# Constants used for currency conversion MIN_AMOUNT = 0 # Minimum valid amount for any currency MAX_CALCS = 5 # Maximum calculations shown in history # Supported currencies (displayed as buttons in the GUI) CURRENCIES = ["NZD", "JPY", "USD", "AUD"] # Exchange rates relative to NZD (1 NZD = X currency) # Used as fallback if live rate fetch fails RATES_FROM_NZD = { "NZD": 1.0, "JPY": 85.0, "USD": 0.60, "AUD": 0.92, } # Legacy constants kept for compatibility with earlier versions NZD_TO_JPY = 85 MIN_NZD = 0 MIN_JPY = 0