C# 截取整数部分
(2014-06-23 22:19:50)| 分类: C# |
1、Match.Round(double | decimal);
2、Match.Floor(double | decimal);
3、int a=(int)b;
4、Convert.Toint32(value)
5、double sb = 88.8;
6、Int32.Parse(string);
7、Int32.TryParse(string);
前一篇:C# 字符串截取

加载中…