Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String.Format
Message
 
À
18/02/2013 12:15:22
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01566272
Message ID:
01566286
Vues:
47
>See http://msdn.microsoft.com/en-us/library/dwhawy9k.aspx and http://msdn.microsoft.com/en-us/library/0c899ak8.aspx.
>
>I would probably just use "C" as the format. If you need a custom format, I would try "$#,##0.00".

Yes. That "c" will use your regional currency format.

Michel's answer will work if you have to support multiple currency formats for multiple cultures.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform