Mega Code Archive

 
Categories / C# Tutorial / Development
 

Formatting flags

String            Description C                 Local currency format. D                 Decimal format. E                 Scientific (exponential) format.  F                 Fixed-point format;  G                 General format. Uses E or F formatting, depending on which is the most compact. N                 Number format.  P                 Percent format. X                 Hexadecimal format.