Package org.bukkit.util
Class NumberConversions
- java.lang.Object
-
- org.bukkit.util.NumberConversions
-
public final class NumberConversions extends Object
Utils for casting number types to other number types
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intceil(double num)static voidcheckFinite(double d, String message)static voidcheckFinite(float d, String message)static intfloor(double num)static booleanisFinite(double d)static booleanisFinite(float f)static intround(double num)static doublesquare(double num)static bytetoByte(Object object)static doubletoDouble(Object object)static floattoFloat(Object object)static inttoInt(Object object)static longtoLong(Object object)static shorttoShort(Object object)
-