toggle menu
gekkit
0.1.0
jvm
switch theme
search in API
gekkit
/
org.bukkit.util
/
NumberConversions
Number
Conversions
public
final
class
NumberConversions
Utils for casting number types to other number types
Members
Functions
ceil
Link copied to clipboard
public
static
int
ceil
(
double num
)
check
Finite
Link copied to clipboard
public
static
void
checkFinite
(
double d
,
String
message
)
public
static
void
checkFinite
(
float d
,
String
message
)
floor
Link copied to clipboard
public
static
int
floor
(
double num
)
is
Finite
Link copied to clipboard
public
static
boolean
isFinite
(
double d
)
public
static
boolean
isFinite
(
float f
)
round
Link copied to clipboard
public
static
int
round
(
double num
)
square
Link copied to clipboard
public
static
double
square
(
double num
)
to
Byte
Link copied to clipboard
public
static
byte
toByte
(
Object
object
)
to
Double
Link copied to clipboard
public
static
double
toDouble
(
Object
object
)
to
Float
Link copied to clipboard
public
static
float
toFloat
(
Object
object
)
to
Int
Link copied to clipboard
public
static
int
toInt
(
Object
object
)
to
Long
Link copied to clipboard
public
static
long
toLong
(
Object
object
)
to
Short
Link copied to clipboard
public
static
short
toShort
(
Object
object
)