question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to change currency?

See original GitHub issue

I don’t want to change language, but use € instead of $. number(1234).format('€0,0.00') just returns "1,234.00", ignoring the currency symbol. I’ve looked through the docs and the exisitng issues, but couldn’t find any way to just change the currency symbol.

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

13reactions
gennecommented, Feb 22, 2018

So no support for mixing currencies without changing locale? I.e. no way of expressing €10 and $10 at the same page?

1reaction
erajakoscommented, Mar 23, 2022

I think this is an issue with the version 2.0.6 as well. This might help:

numeral.localeData().currency.symbol = '€'
Read more comments on GitHub >

github_iconTop Results From Across the Web

Where to Exchange Currency Without Paying Huge Fees
Banks and credit unions are generally the best places to exchange currency, with reasonable exchange rates and the lowest fees.
Read more >
5 Cheap Ways to Exchange Foreign Currency - SmartAsset.com
5 Cheap Ways to Exchange Currency · 1. Stop by Your Local Bank · 2. Visit an ATM · 3. Consider Getting Traveler's...
Read more >
Where to Exchange Currency Without Paying Huge Fees
You may be able to get foreign currency in cash at your local bank branch, or you can order currency online or by...
Read more >
How to Convert Currency - Investopedia
Currency can be converted using an online currency exchange, or it can be performed manually. To use either method, you must first look...
Read more >
How to Exchange Currency (with Pictures) - wikiHow
1. Understand the process so that you get the best deal. If you've never exchanged currency before, it's a good idea for you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found