API
# Math
包含执行基本数字运算的方法
没有构造方法,但方法是静态的,可以用类名直接调用
# Math 类常用方法
# 绝对值: abs
public static int abs(int a);# 小数的最近正数: cell (最大整数) floor (最小整数)
public static double ceil(double a);public static double floor(double a);# 四舍五入近似值: round
public static int round(float a);# 最大最小值: max/min
public static int...
more...