You are hereStandard Numeric Format Strings

Standard Numeric Format Strings



By stoneseq - Posted on 29 November 2013


"P" or "p"
Percent
Result: Number multiplied by 100 and displayed with a percent symbol.
Supported by: All numeric types.
Precision specifier: Desired number of decimal places.
Default precision specifier: Defined by System.Globalization.NumberFormatInfo.
More information: The Percent ("P") Format Specifier.
1 ("P", en-US) -> 100.00 %
1 ("P", fr-FR) -> 100,00 %
-0.39678 ("P1", en-US) -> -39.7 %
-0.39678 ("P1", fr-FR) -> -39,7 %


Tags

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
9 + 11 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Subscribe to Getzy by e-mail

Delivered by FeedBurner

Syndicate

Syndicate content