Implementation for Excel Oct2Dec() function.
Converts an octal number to decimal.
Syntax:
Oct2Dec (number )
Number is the octal number you want to convert. Number may not contain more than 10 octal characters (30 bits). The most significant bit of number is the sign bit. The remaining 29 bits are magnitude bits. Negative numbers are represented using two's-complement notation..
If number is not a valid octal number, OCT2DEC returns the #NUM! error value.
| Modifier and Type | Field and Description |
|---|---|
| public static final FreeRefFunction | |
| pack-priv static final int | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ValueEval | evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE)
Implements org. |
| public ValueEval | evaluate(ValueEval[]
the pre-evaluated arguments for this function. args is never args, OperationEvaluationContext null,
nor are any of its elements.primarily used to identify the source cell containing the formula being evaluated.
may also be used to dynamically create reference evals. ec)Implements org.
|
| instance | back to summary |
|---|---|
| public static final FreeRefFunction instance | |
| MAX_NUMBER_OF_PLACES | back to summary |
|---|---|
| pack-priv static final int MAX_NUMBER_OF_PLACES | |
| OCTAL_BASE | back to summary |
|---|---|
| pack-priv static final int OCTAL_BASE | |
| Oct2Dec | back to summary |
|---|---|
| public Oct2Dec() | |
| evaluate | back to summary |
|---|---|
| public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE) Implements org. Doc from org. see
| |
| evaluate | back to summary |
|---|---|
| public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) Implements org.
| |