|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.RoundingType
public final class RoundingType
This class is used to specify the number of decimal places to round to.
Field Summary | |
---|---|
static int |
_roundToBillionth
.000000001 |
static int |
_roundToHundred
100 |
static int |
_roundToHundredMillionth
.00000001 |
static int |
_roundToHundredth
.01 |
static int |
_roundToHundredThousand
100000 |
static int |
_roundToHundredThousandth
.00001 |
static int |
_roundToMillion
1000000 |
static int |
_roundToMillionth
.000001 |
static int |
_roundToTen
10 |
static int |
_roundToTenBillionth
.0000000001 |
static int |
_roundToTenMillionth
.0000001 |
static int |
_roundToTenth
.1 |
static int |
_roundToTenThousand
10000 |
static int |
_roundToTenThousandth
.0001 |
static int |
_roundToThousand
1000 |
static int |
_roundToThousandth
.001 |
static int |
_roundToUnit
1 |
static RoundingType |
roundToBillionth
A RoundingType object that specifies to round to .000000001. |
static RoundingType |
roundToHundred
A RoundingType object that specifies to round to 100. |
static RoundingType |
roundToHundredMillionth
A RoundingType object that specifies to round to .00000001. |
static RoundingType |
roundToHundredth
A RoundingType object that specifies to round to .01. |
static RoundingType |
roundToHundredThousand
A RoundingType object that specifies to round to 100000. |
static RoundingType |
roundToHundredThousandth
A RoundingType object that specifies to round to .00001. |
static RoundingType |
roundToMillion
A RoundingType object that specifies to round to 1000000. |
static RoundingType |
roundToMillionth
A RoundingType object that specifies to round to .000001. |
static RoundingType |
roundToTen
A RoundingType object that specifies to round to 10. |
static RoundingType |
roundToTenBillionth
A RoundingType object that specifies to round to .0000000001. |
static RoundingType |
roundToTenMillionth
A RoundingType object that specifies to round to .0000001. |
static RoundingType |
roundToTenth
A RoundingType object that specifies to round to .1. |
static RoundingType |
roundToTenThousand
A RoundingType object that specifies to round to 10000. |
static RoundingType |
roundToTenThousandth
A RoundingType object that specifies to round to .0001. |
static RoundingType |
roundToThousand
A RoundingType object that specifies to round to 1000. |
static RoundingType |
roundToThousandth
A RoundingType object that specifies to round to .001. |
static RoundingType |
roundToUnit
A RoundingType object that specifies to round to 1. |
Constructor Summary | |
---|---|
RoundingType(int _value)
|
Method Summary | |
---|---|
static RoundingType |
from_int(int i)
Returns the RoundingType object corresponding to the specified value. |
static RoundingType |
from_string(java.lang.String sVal)
Returns the RoundingType object corresponding to the specified type. |
java.lang.String |
toString()
Returns the String value of this RoundingType object. |
int |
value()
Returns the int value of this RoundingType object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _roundToTenBillionth
.0000000001
public static final int _roundToBillionth
.000000001
public static final int _roundToHundredMillionth
.00000001
public static final int _roundToTenMillionth
.0000001
public static final int _roundToMillionth
.000001
public static final int _roundToHundredThousandth
.00001
public static final int _roundToTenThousandth
.0001
public static final int _roundToThousandth
.001
public static final int _roundToHundredth
.01
public static final int _roundToTenth
.1
public static final int _roundToUnit
1
public static final int _roundToTen
10
public static final int _roundToHundred
100
public static final int _roundToThousand
1000
public static final int _roundToTenThousand
10000
public static final int _roundToHundredThousand
100000
public static final int _roundToMillion
1000000
public static final RoundingType roundToTenBillionth
A RoundingType
object that specifies to round to .0000000001.
public static final RoundingType roundToBillionth
A RoundingType
object that specifies to round to .000000001.
public static final RoundingType roundToHundredMillionth
A RoundingType
object that specifies to round to .00000001.
public static final RoundingType roundToTenMillionth
A RoundingType
object that specifies to round to .0000001.
public static final RoundingType roundToMillionth
A RoundingType
object that specifies to round to .000001.
public static final RoundingType roundToHundredThousandth
A RoundingType
object that specifies to round to .00001.
public static final RoundingType roundToTenThousandth
A RoundingType
object that specifies to round to .0001.
public static final RoundingType roundToThousandth
A RoundingType
object that specifies to round to .001.
public static final RoundingType roundToHundredth
A RoundingType
object that specifies to round to .01.
public static final RoundingType roundToTenth
A RoundingType
object that specifies to round to .1.
public static final RoundingType roundToUnit
A RoundingType
object that specifies to round to 1.
public static final RoundingType roundToTen
A RoundingType
object that specifies to round to 10.
public static final RoundingType roundToHundred
A RoundingType
object that specifies to round to 100.
public static final RoundingType roundToThousand
A RoundingType
object that specifies to round to 1000.
public static final RoundingType roundToTenThousand
A RoundingType
object that specifies to round to 10000.
public static final RoundingType roundToHundredThousand
A RoundingType
object that specifies to round to 100000.
public static final RoundingType roundToMillion
A RoundingType
object that specifies to round to 1000000.
Constructor Detail |
---|
public RoundingType(int _value)
Method Detail |
---|
public static final RoundingType from_int(int i)
Returns the RoundingType
object corresponding to the specified value.
i
- The int
value of the desired RoundingType
object.
RoundingType
object corresponding to the specified value.public static final RoundingType from_string(java.lang.String sVal)
Returns the RoundingType
object corresponding to the specified type.
sVal
- The String
value of the desired RoundingType
object.
RoundingType
object corresponding to the specified type.public java.lang.String toString()
Returns the String
value of this RoundingType
object.
toString
in class java.lang.Object
String
value of this RoundingType
object.public int value()
Returns the int
value of this RoundingType
object.
int
value of this RoundingType
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |