| |
2.34.1.String.Format: {0,10:p} |
|
Public Class Tester
Public Shared Sub Main
Console.WriteLine(String.Format("{0,10:p}", 0.32))
End Sub
End Class
|
|
32.00 % |
2.34.String Format | | 2.34.1. | String.Format: {0,10:p} | | | | 2.34.2. | String.Format: {0:#,### ; #.## ,00##,00} | | | | 2.34.3. | String.Format: {0:##.## ; -##.# ; 0.0#} (2) | | | | 2.34.4. | String.Format: {0:##.## ; (##.00) ; 0.0#} (3) | | | | 2.34.5. | String format: {0, 1:D} | | | | 2.34.6. | String format: {0, 7:F1} | | | | 2.34.7. | String format: {0, 0:#.#}, {0, 0:#.###}, {0, 0:#.#####} (4) | | |
|