← Back to posts
Currency Converter Demo
1 min read
Life
Currency Converter Demo
This is made to cope with those of you who don't speak my currency.
Examples
Using the money tag syntax:
Here's $100.00 in USD.
I spent HK$500.00 on lunch today!
This phone costs S$1,299.00.
The ticket was Rp500,000.
Using data attributes:
You can also use data attributes:
More Examples with Different Currencies:
- US Dollar: $100.00
- Hong Kong Dollar: HK$1,000.00
- Indonesian Rupiah: Rp2,000,000
- Euro: €85.00
- British Pound: £75.00
- Japanese Yen: ¥15,000
- Singapore Dollar: S$135.00
Auto-formatting
If you don't provide the display text, it will be formatted automatically:
$1,234.56
¥98,765
Rp5,000,000
Inline Usage
This is great for inline mentions like "I paid HK$128.43 which equals Rp2,146,274" in my travel blog posts!
Just hover over any highlighted amount to see the popup with all currency conversions! 💰✨