CSDN博客

img xinzhe

convert.ToString

发表于2004/10/23 11:23:00  530人阅读

Numeric objects also provide various kinds of formatting options to
specify the number of decimal places:
float x = 12.341514325f;
string s =x.ToString ("###.###"); //gives 12.342
阅读全文
0 0

相关文章推荐

img
取 消
img