How can I format numbers as currency in JavaScript?
In a customer project I needed to format numbers as currency. In this case I found this neat little extension method.
In action it looks like this: 1'234.12 CHF
Here is the related Stack Overflow thread.