x | Function call | Result |
17688.65849 | x.ToString("F2") | 17688.65 |
17688.65849 | x.ToString("N5"); | 17,688.65849 |
17688.65849 | x.ToString("e"); | 1.768866e+004 |
17688.65849 | x.ToString("r"); | 17688.65849 |
0.13 | x.ToString("p"); | 13.00 % |
0.13 | x.ToString("X"); | 13 |
013 | x.ToString("D12"); | 000000000013 |
189.99 | x.ToString("C"); | $189.99 |
Aucun commentaire:
Enregistrer un commentaire