Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.util
Class BigDecimalUtil

java.lang.Object
  extended by com.liferay.portal.kernel.util.BigDecimalUtil

public class BigDecimalUtil
extends Object


Constructor Summary
BigDecimalUtil()
           
 
Method Summary
static double add(Number x, Number y)
           
static double divide(Number x, Number y, int scale, RoundingMode roundingMode)
           
static double multiply(Number x, Number y)
           
static double scale(Number x, int scale, RoundingMode roundingMode)
           
static double subtract(Number x, Number y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BigDecimalUtil

public BigDecimalUtil()
Method Detail

add

public static double add(Number x,
                         Number y)

divide

public static double divide(Number x,
                            Number y,
                            int scale,
                            RoundingMode roundingMode)

multiply

public static double multiply(Number x,
                              Number y)

scale

public static double scale(Number x,
                           int scale,
                           RoundingMode roundingMode)

subtract

public static double subtract(Number x,
                              Number y)

Liferay 6.1.2-ce-ga3