Currency Converter
Here's a simple guide on how to use the Currency Converter I provided:
How to Use the Currency Converter
- Enter the Amount
- Type the amount you want to convert in the first input box.
- Example:
1000
- Select the "From" Currency
- Choose the currency you're converting from using the dropdown.
- Example:
INR (Indian Rupees)
- Select the "To" Currency
- Choose the currency you're converting to using the second dropdown.
- Example:
USD (US Dollars)
- Click "Convert Currency"
- The converted amount will appear in the second input box.
- The result will also be displayed below the button.
- Example:
1000 INR = 13.37 USD
Example Conversion (Step-by-Step)
- Enter Amount:
5000
- From Currency:
INR
(Indian Rupee) - To Currency:
USD
(US Dollar) - Click "Convert Currency"
- Result:
- Converted Amount:
66.85
(USD) - Message:
5000 INR = 66.85 USD
Important Notes
- The converter uses hardcoded exchange rates (not real-time).
- For accurate rates, you should connect to a currency API (like ExchangeRate-API or Open Exchange Rates).
- If you enter an invalid amount (like
0
or text), it will show an error.