|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.plausj.bank.german.util.MathHelper
public class MathHelper
Some mathematical helper functions. They are called statically
Method Summary | |
---|---|
static int |
calcCrossTotal(int aNumber)
Calculates the cross total of the supplied integer |
static int |
getLastDigits(int aNumber,
int count)
Returns the last "count" digits of the supplied number as a new integer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int calcCrossTotal(int aNumber)
aNumber
- The integer to calc the cross total from
public static int getLastDigits(int aNumber, int count)
aNumber
- The number to return the digits fromcount
- The count (from the right) of how many digits to return
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |