摘要:
Format specifierNameDescriptionExamples "C" or "c" Currency Result: A currency value.Supported by: All numeric types.Precision specifier: Number of de 阅读全文
posted @ 2020-06-05 15:08
Javi
阅读(310)
评论(0)
推荐(0)
摘要:
double value; value = 123; Console.WriteLine(value.ToString("00000")); Console.WriteLine(String.Format("{0:00000}", value)); // Displays 00123 value = 阅读全文
posted @ 2020-06-05 15:07
Javi
阅读(414)
评论(0)
推荐(0)

浙公网安备 33010602011771号