java-Math类

1、Math类概述和方法使用
  * A:Math类概述
    * Math 类包含用于执行基本数学运算的方法,如初等指数、对数、平方根和三角函数。
  * B:成员方法
    * public static int abs(int a)
    * public static double ceil(double a)
    * public static double floor(double a)
    * public static int max(int a,int b) 【还有min方法,同max】
    * public static double pow(double a,double b)
    * public static double random()
    * public static int round(float a) 
    * public static double sqrt(double a)

原文地址:https://www.cnblogs.com/hfumin/p/10194513.html