Package org.zkoss.lang
Class Longs
java.lang.Object
org.zkoss.lang.Longs
Long relevant utilities.
- Author:
- tomyeh
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final StringtoStringByScale(long val, int digits) urns a String object representing the specified integer, with the (at-least) specified digits.
-
Field Details
-
ZERO
The zero.
-
-
Constructor Details
-
Longs
public Longs()
-
-
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".
-