org.kuali.rice.core.api.util.type
Class KualiPercent

java.lang.Object
  extended by java.lang.Number
      extended by org.kuali.rice.core.api.util.type.AbstractKualiDecimal<KualiDecimal>
          extended by org.kuali.rice.core.api.util.type.KualiDecimal
              extended by org.kuali.rice.core.api.util.type.KualiPercent
All Implemented Interfaces:
Serializable, Comparable

public class KualiPercent
extends KualiDecimal

This class is a wrapper around java.math.BigDecimal for percents.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.core.api.util.type.KualiDecimal
SCALE, ZERO
 
Fields inherited from class org.kuali.rice.core.api.util.type.AbstractKualiDecimal
ROUND_BEHAVIOR, value
 
Constructor Summary
KualiPercent(BigDecimal d)
           
KualiPercent(double d)
          Constructs a KualiPercent.java.
 
Method Summary
 KualiDecimal toKualiDecimal()
           
 
Methods inherited from class org.kuali.rice.core.api.util.type.KualiDecimal
newInstance, newInstance, newInstance, newInstance, newInstance, setScale
 
Methods inherited from class org.kuali.rice.core.api.util.type.AbstractKualiDecimal
abs, add, bigDecimalValue, compareTo, compareTo, divide, divide, doubleValue, equals, floatValue, hashCode, intValue, isGreaterEqual, isGreaterThan, isLessEqual, isLessThan, isNegative, isNonZero, isNumeric, isPositive, isZero, longValue, mod, mod, multiply, multiply, negated, subtract, toString
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KualiPercent

public KualiPercent(double d)
Constructs a KualiPercent.java.

Parameters:
d -

KualiPercent

public KualiPercent(BigDecimal d)
Method Detail

toKualiDecimal

public KualiDecimal toKualiDecimal()
Returns:
the percent as a decimal


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.