tagged [currency]
Formatting Excel cells (currency)
Formatting Excel cells (currency) I developed an Add-In for Excel so you can insert some numbers from a MySQL database into specific cells. Now I tried to format these cells to currency and I have two...
Convert any currency string to double
Convert any currency string to double I need to store multiple currencies in SQL server. I understand that SQL won't support all different types of currencies (unless I store it as a string, but I don...
- Modified
- 2 May at 14:8
How should I use EditorFor() in MVC for a currency/money type?
How should I use EditorFor() in MVC for a currency/money type? In my view I have the following call. I have a ViewModel with the following code to define Cost. However this displays a decimal value wi...
- Modified
- 8 May at 21:27
how do i initialize the money gem?
how do i initialize the money gem? I have a new gem I'm playing with, but I'm not sure where to put it so that it is initialized, but that I don't have to do it each and every time I use my method whi...
- Modified
- 3 Sep at 14:35
Need a custom currency format to use with String.Format
Need a custom currency format to use with String.Format I'm trying to use String.Format("{0:c}", somevalue) in C# but am having a hard time figuring out how to configure the output to meet my needs. H...
- Modified
- 12 Feb at 18:40
Best Practice - Format Multiple Currencies
Best Practice - Format Multiple Currencies What is best practice for the scenario listed below? We have an application which we would like to support multiple currencies. The software will respect the...
- Modified
- 27 Jul at 22:41
String format numbers to millions, thousands with rounding
String format numbers to millions, thousands with rounding I'm trying to format a price for display, and I want to display a number with the million (M) or thousands (K) suffix, but only ever display ...
Currency formatting
Currency formatting This should be an easy problem but... I need to format a currency for display (string) in C# The currency in question will have its own rules such as the symbol to use and if that ...