Fork me on GitHub
摘要: int V = (pr.ToString().IndexOf(".")); if (V != -1) { pr = int.Parse(pr.ToString().Substring(0, V)); } 取整: doule i=100.11; int index = i.IndexOf(".");  阅读全文
posted @ 2018-10-30 17:29 都一样* 阅读(4114) 评论(0) 推荐(0) 编辑