|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.carlosbcruz.account.util.AccountValues
public class AccountValues
Helps in mantain the values under defined limits
Constructor Summary | |
---|---|
AccountValues()
|
Method Summary | |
---|---|
static java.lang.Number |
getNumberFromText(java.lang.String text)
Extract the number that is inserted inside a String |
static float |
getTwoDecimalFloat(float value)
Eliminate the rounding problem and sick to two decimals This is necessary because of rouding problems of floats |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccountValues()
Method Detail |
---|
public static float getTwoDecimalFloat(float value)
value
- The value.
public static java.lang.Number getNumberFromText(java.lang.String text) throws NumberNotFoundException
text
- The text to be searched
NumberNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |