摘要:
适用范围:长整型long(-9223272036854775808 ~ +9223272036854775808) //BY: bit.Aipeli 2005-11-07 23:27:23 private double Round(double v,int x) { int i; long IValue=1;... 阅读全文
摘要:
double d = 0.06576523;int i = (int)(d/0.01);//0.01决定了精度 double dd = (double)i/100;//还原 if(d-dd>=0.005)dd+=0.01;//四舍五入 MessageBox.Show((dd*100).ToString()+"%");//7%,dd*100就变成百分的前面那一部分了 阅读全文
摘要:
电子书下载http://www.netyi.net/index.htm站点统计http://cnzz.com/安创信息论坛http://www.laibar.org/chinascnc/index.php 阅读全文