EURO currency symbol with decimal point instead of a comma

Posted on 2006-11-30
Last Modified: 2012-05-05
In ASP.NET with C# I show amounts with a currency sign
I take the currency sign from the culture, (I have different countries so I change the culture according to the
country when I want to show an amount with sign).
Anyhow when I show a EURO sign from some countries in EUROPE  - Netherlands,Belgium and others with culture
like  'nl-NL' or 'nl-BE' and I show it with the C format in the screen

Text='<%# Bind("Amount", "{0,15:C}") %>  
or printing like
 AmountCrdStr = String.Format("{0,15:C}", AmountCrd);

I get the following result:     € 1.500,00

The problem is that I want it to appear like this:  € 1,500.00
first the comma , and then the decimal fullstop.
Although I guess this is what accepted in EUROPE I need to show it in this way.
Is their a culture that shows the amount with the currency sign on the left and a comma sign?
I need an urgent answer
Question by:ANAT2403
  • 2
  • 2
  • 2
  • +1

Expert Comment

ID: 18044962
can you check this example from msdn
public static void Main() {

      // Gets a NumberFormatInfo associated with the en-US culture.
      NumberFormatInfo nfi = new CultureInfo( "en-US", false ).NumberFormat;

      // Displays a value with the default separator (",").
      Int64 myInt = 123456789;
      Console.WriteLine( myInt.ToString( "C", nfi ) );

      // Displays the same value with a blank as the separator.
      nfi.CurrencyGroupSeparator = " ";
      Console.WriteLine( myInt.ToString( "C", nfi ) );

LVL 96

Accepted Solution

Bob Learned earned 500 total points
ID: 18045301
That wouldn't give you the EURO symbol for currency.  You would need to set the CurrencySymbol:

        NumberFormatInfo nfiUS = new CultureInfo( "en-US", false).NumberFormat;
        NumberFormatInfo nfiIE = new CultureInfo("en-IE", false).NumberFormat;
        nfiUS.CurrencySymbol = nfiIE.CurrencySymbol;


Expert Comment

ID: 18045827
&euro; {0:0,0}
ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

LVL 96

Expert Comment

by:Bob Learned
ID: 18046773


Expert Comment

ID: 18046854
I used that as the dataformatstring setting on a gridview displaying € 1,500 etc

DataFormatString="&amp;euro; {0:0,0}"

(where &amp = "&" & "amp" concatenated)

Culture setting on the system is as follows, incidentally:
<globalization uiCulture="en-IE" culture="en-IE"/>


Expert Comment

ID: 18046905
The sample from msdn just illustrates the numeric formatting in currency conversion. Its upto you which culture you use to get the currency symbol.


Author Comment

ID: 18048445
The most important thing I learned from you and is waht I was looking for is the culture that shows comma , instead of the . stop whic is "en-IE" the culture of Ireland. and this wrote TheLearnedOne .
before I five the points I wuold like to ask id there is a way of forcing a specific culture let's say another culture not
the EURO to change the sign symbol of , or . and also the place of the currency sign to be from left or right. for example the euro sign of spain is in the left side.

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error on Add method 1 51
Server Error 11 58
Error handling in site 5 27
Example works but why do I need to click twice on button 4 42
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question