org.zkoss.lang
Class Integers
java.lang.Object
org.zkoss.lang.Integers
public class Integers
- extends Object
Integer utilities.
- Author:
- tomyeh
|
Method Summary |
static String |
toStringByScale(int val,
int digits)
urns a String object representing the specified integer, with
the (at-least) specified digits. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZERO
public static final Integer ZERO
- The zero.
Integers
public Integers()
toStringByScale
public static final String toStringByScale(int val,
int digits)
- 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".
Copyright © 2012. All Rights Reserved.