Package com.gaia3d.util
Class DecimalUtils
java.lang.Object
com.gaia3d.util.DecimalUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
byteCountToDisplaySize
(long size) static double
cut
(double value) static double
cut
(double value, int digit) static float
cut
(float value) static float
cut
(float value, int digit) static String
millisecondToDisplayTime
(long millis)
-
Constructor Details
-
DecimalUtils
public DecimalUtils()
-
-
Method Details
-
cut
public static double cut(double value) -
cut
public static double cut(double value, int digit) -
cut
public static float cut(float value) -
cut
public static float cut(float value, int digit) -
byteCountToDisplaySize
-
millisecondToDisplayTime
-