Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating Blank if zero decimal format string
Message
De
30/08/2008 15:51:48
 
 
À
30/08/2008 12:55:06
Information générale
Forum:
ASP.NET
Catégorie:
Common Language Runtime
Divers
Thread ID:
01343549
Message ID:
01343569
Vues:
23
For example
Console.WriteLine((123.4m).ToString("0.00;-0.00; ")); //123.40
Console.WriteLine((-123.4m).ToString("0.00;-0.00; ")); //-123.40
Console.WriteLine((0m).ToString("0.00;-0.00; ")); //

Notice a space at the end of format string
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform