Package org.zkoss.lang
Class Integers
java.lang.Object
org.zkoss.lang.Integers
Integer utilities.
- Author:
- tomyeh
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final StringtoStringByScale(int val, int digits) urns a String object representing the specified integer, with the (at-least) specified digits.
-
Field Details
-
ZERO
The zero.
-
-
Constructor Details
-
Integers
public Integers()
-
-
Method Details
-
toStringByScale
urns a String object representing the specified integer, with the (at-least) specified digits.Example: toStringByScale(123, 5) returns "00123", toStringByScale(123, 2) returns "123".
-