com.crystaldecisions.sdk.occa.report.definition
Class RoundingType

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.definition.RoundingType

public final class RoundingType
extends java.lang.Object

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

_roundToTenBillionth

public static final int _roundToTenBillionth

.0000000001

See Also:
Constant Field Values

_roundToBillionth

public static final int _roundToBillionth

.000000001

See Also:
Constant Field Values

_roundToHundredMillionth

public static final int _roundToHundredMillionth

.00000001

See Also:
Constant Field Values

_roundToTenMillionth

public static final int _roundToTenMillionth

.0000001

See Also:
Constant Field Values

_roundToMillionth

public static final int _roundToMillionth

.000001

See Also:
Constant Field Values

_roundToHundredThousandth

public static final int _roundToHundredThousandth

.00001

See Also:
Constant Field Values

_roundToTenThousandth

public static final int _roundToTenThousandth

.0001

See Also:
Constant Field Values

_roundToThousandth

public static final int _roundToThousandth

.001

See Also:
Constant Field Values

_roundToHundredth

public static final int _roundToHundredth

.01

See Also:
Constant Field Values

_roundToTenth

public static final int _roundToTenth

.1

See Also:
Constant Field Values

_roundToUnit

public static final int _roundToUnit

1

See Also:
Constant Field Values

_roundToTen

public static final int _roundToTen

10

See Also:
Constant Field Values

_roundToHundred

public static final int _roundToHundred

100

See Also:
Constant Field Values

_roundToThousand

public static final int _roundToThousand

1000

See Also:
Constant Field Values

_roundToTenThousand

public static final int _roundToTenThousand

10000

See Also:
Constant Field Values

_roundToHundredThousand

public static final int _roundToHundredThousand

100000

See Also:
Constant Field Values

_roundToMillion

public static final int _roundToMillion

1000000

See Also:
Constant Field Values

roundToTenBillionth

public static final RoundingType roundToTenBillionth

A RoundingType object that specifies to round to .0000000001.


roundToBillionth

public static final RoundingType roundToBillionth

A RoundingType object that specifies to round to .000000001.


roundToHundredMillionth

public static final RoundingType roundToHundredMillionth

A RoundingType object that specifies to round to .00000001.


roundToTenMillionth

public static final RoundingType roundToTenMillionth

A RoundingType object that specifies to round to .0000001.


roundToMillionth

public static final RoundingType roundToMillionth

A RoundingType object that specifies to round to .000001.


roundToHundredThousandth

public static final RoundingType roundToHundredThousandth

A RoundingType object that specifies to round to .00001.


roundToTenThousandth

public static final RoundingType roundToTenThousandth

A RoundingType object that specifies to round to .0001.


roundToThousandth

public static final RoundingType roundToThousandth

A RoundingType object that specifies to round to .001.


roundToHundredth

public static final RoundingType roundToHundredth

A RoundingType object that specifies to round to .01.


roundToTenth

public static final RoundingType roundToTenth

A RoundingType object that specifies to round to .1.


roundToUnit

public static final RoundingType roundToUnit

A RoundingType object that specifies to round to 1.


roundToTen

public static final RoundingType roundToTen

A RoundingType object that specifies to round to 10.


roundToHundred

public static final RoundingType roundToHundred

A RoundingType object that specifies to round to 100.


roundToThousand

public static final RoundingType roundToThousand

A RoundingType object that specifies to round to 1000.


roundToTenThousand

public static final RoundingType roundToTenThousand

A RoundingType object that specifies to round to 10000.


roundToHundredThousand

public static final RoundingType roundToHundredThousand

A RoundingType object that specifies to round to 100000.


roundToMillion

public static final RoundingType roundToMillion

A RoundingType object that specifies to round to 1000000.

Constructor Detail

RoundingType

public RoundingType(int _value)
Method Detail

from_int

public static final RoundingType from_int(int i)

Returns the RoundingType object corresponding to the specified value.

Parameters:
i - The int value of the desired RoundingType object.
Returns:
The RoundingType object corresponding to the specified value.

from_string

public static final RoundingType from_string(java.lang.String sVal)

Returns the RoundingType object corresponding to the specified type.

Parameters:
sVal - The String value of the desired RoundingType object.
Returns:
The RoundingType object corresponding to the specified type.

toString

public java.lang.String toString()

Returns the String value of this RoundingType object.

Overrides:
toString in class java.lang.Object
Returns:
The String value of this RoundingType object.

value

public int value()

Returns the int value of this RoundingType object.

Returns:
The int value of this RoundingType object.