org.neodatis.tool.wrappers
Class NeoDatisNumber
java.lang.Object
org.neodatis.tool.wrappers.NeoDatisNumber
public class NeoDatisNumber
- extends java.lang.Object
A class to wrap some number methods
- Author:
- olivier
Method Summary |
static java.math.BigDecimal |
add(java.math.BigDecimal bd1,
java.math.BigDecimal bd2)
|
static java.math.BigInteger |
add(java.math.BigInteger bi1,
java.math.BigInteger bi2)
|
static java.math.BigInteger |
createBigIntegerFromString(java.lang.String s)
|
static java.math.BigDecimal |
createDecimalFromString(java.lang.String s)
|
static java.math.BigDecimal |
divide(java.math.BigDecimal bd1,
java.math.BigDecimal bd2,
int roundType,
int scale)
|
static java.math.BigInteger |
newBigInteger(long l)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NeoDatisNumber
public NeoDatisNumber()
newBigInteger
public static java.math.BigInteger newBigInteger(long l)
add
public static java.math.BigDecimal add(java.math.BigDecimal bd1,
java.math.BigDecimal bd2)
divide
public static java.math.BigDecimal divide(java.math.BigDecimal bd1,
java.math.BigDecimal bd2,
int roundType,
int scale)
add
public static java.math.BigInteger add(java.math.BigInteger bi1,
java.math.BigInteger bi2)
createDecimalFromString
public static java.math.BigDecimal createDecimalFromString(java.lang.String s)
createBigIntegerFromString
public static java.math.BigInteger createBigIntegerFromString(java.lang.String s)