Java.util.Math类的API记录

来源:互联网 发布:淘宝小号怎样申请 编辑:程序博客网 时间:2024/06/02 02:19


Math:

math.ceil   :向上取整;

math.sqrt  :开平方;

math.floor :向下取整;

math.round:四舍五入;

math.pow(x,y) :x的y次方


原创粉丝点击