Package org.zkoss.pivot.impl.calc
Class Numbers
java.lang.Object
org.zkoss.pivot.impl.calc.Numbers
Utilities of arithmetic operations.
- Author:
- simonpai
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NumberDivide a Number by an int with automatic casting.static byteReturn the minimal variable type required to hold the number.
-
Field Details
-
NULL
public static final byte NULLnull value.- See Also:
-
INTEGER
public static final byte INTEGERInteger type.- See Also:
-
LONG
public static final byte LONGLong type.- See Also:
-
DOUBLE
public static final byte DOUBLEDouble type.- See Also:
-
-
Constructor Details
-
Numbers
public Numbers()
-
-
Method Details