|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfr.ove.utils.NumberUtils
| Constructor Summary | |
NumberUtils()
|
|
| Method Summary | |
static java.lang.String |
formatDouble(java.lang.String dValue)
Formats the specified double value with two digits after decimal place |
static boolean |
isFloat(java.lang.String token)
Analyzes the token and determines wheter it is an integer or a float. |
static boolean |
isNumber(java.lang.String token)
Analyzes a token and determines whether it is a number (integer or float) or not. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NumberUtils()
| Method Detail |
public static boolean isNumber(java.lang.String token)
token - the token to anlazye.
true if the token is a number. false otherwise.public static boolean isFloat(java.lang.String token)
token - the token to analyze.
true if the token is a float. false
if the token is an integer.public static java.lang.String formatDouble(java.lang.String dValue)
dValue - the value to format.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||