摘要: Math类提供了3个有关取整的方法:ceil()、floor()、round()。 这些方法与他们的英文名字相对应: ceil,天花板,意思就是向上取整,Math.ceil(11.5)的结果为12,Math.ceil(-11.5)的结果为-11。 floor,地板,意思就是向下取整,Math.flo 阅读全文
posted @ 2018-11-20 11:16 大腮鱼 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 最近做了个小程序,要求在同文件夹下的txt文件,处理内容之后,生成csv文件。 阅读全文
posted @ 2018-11-20 10:28 大腮鱼 阅读(1353) 评论(0) 推荐(0) 编辑