Bird
0
0

What is the default currency symbol shown when using Angular's currency pipe without specifying a currency code?

easy📝 Conceptual Q2 of 15
Angular - Pipes
What is the default currency symbol shown when using Angular's currency pipe without specifying a currency code?
A
B$
CUSD
D£
Step-by-Step Solution
Solution:
  1. Step 1: Understand default currency behavior

    Angular's currency pipe defaults to the local currency symbol, which is $ in many locales.
  2. Step 2: Recognize currency code vs symbol

    Without specifying code, it shows symbol, not code like USD.
  3. Final Answer:

    $ -> Option B
  4. Quick Check:

    Default currency symbol = $ [OK]
Quick Trick: Currency pipe defaults to $ symbol if no code given [OK]
Common Mistakes:
  • Assuming it shows currency code like USD
  • Thinking it defaults to Euro or Pound
  • Confusing symbol with code

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Angular Quizzes