摘要: 浮点型 Name CTS Type Description Significant Figures Range (approximate) float System.Single 32-bit single-precision floating point 7 ±1.5 × 10?45 to ±3. 阅读全文
posted @ 2018-01-15 12:41 沙耶 阅读(41724) 评论(0) 推荐(13) 编辑
摘要: Math.Ceiling()向上取整,Math.Floor()向下取整 示例: d = 4.56789 string res = Math.Ceiling(Convert.ToDecimal(d)).ToString() 或string res = Math.Ceiling(Convert.ToDo 阅读全文
posted @ 2018-01-15 12:31 沙耶 阅读(584) 评论(0) 推荐(0) 编辑