摘要:
double avg = 9.99999999string s = avg.ToString("0.00");这样可以把Double类型转换为9.99avg = Convert.ToDouble(s);先将double转换为2位小数的string,再将string转换为double;Console.... 阅读全文
posted @ 2015-01-07 12:38 aspnet学习ing 阅读(158) 评论(0) 推荐(0) 编辑
posted @ 2015-01-07 12:38 aspnet学习ing 阅读(158) 评论(0) 推荐(0) 编辑
posted @ 2015-01-06 09:02 aspnet学习ing 阅读(115) 评论(0) 推荐(0) 编辑
posted @ 2015-01-03 13:21 aspnet学习ing 阅读(138) 评论(0) 推荐(0) 编辑
posted @ 2015-01-02 22:24 aspnet学习ing 阅读(160) 评论(0) 推荐(0) 编辑
posted @ 2015-01-02 17:26 aspnet学习ing 阅读(138) 评论(0) 推荐(0) 编辑
posted @ 2015-01-01 16:56 aspnet学习ing 阅读(142) 评论(0) 推荐(0) 编辑
posted @ 2014-12-28 22:54 aspnet学习ing 阅读(143) 评论(0) 推荐(0) 编辑
posted @ 2014-12-27 14:13 aspnet学习ing 阅读(149) 评论(0) 推荐(0) 编辑
Copyright © 2024 aspnet学习ing
Powered by .NET 8.0 on Kubernetes