Syntax:
DEC2HEX (number,places )
Converts a decimal number to hexadecimal. The decimal integer you want to convert. If number is negative, places is ignored and this function returns a 10-character (40-bit) hexadecimal number in which the most significant bit is the sign bit. The remaining 39 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
The number of characters to use. The places argument is useful for padding the return value with leading 0s (zeros).
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| public static final FreeRefFunction | |
| private static final long | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ValueEval | evaluate(int srcRowIndex, int srcColumnIndex, ValueEval number, ValueEval places)
Implements org. |
| public ValueEval | evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0)
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.
|
| DEFAULT_PLACES_VALUE | back to summary |
|---|---|
| private static final int DEFAULT_PLACES_VALUE | |
| instance | back to summary |
|---|---|
| public static final FreeRefFunction instance | |
| MAX_VALUE | back to summary |
|---|---|
| private static final long MAX_VALUE | |
| MIN_VALUE | back to summary |
|---|---|
| private static final long MIN_VALUE | |
| Dec2Hex | back to summary |
|---|---|
| public Dec2Hex() | |
| evaluate | back to summary |
|---|---|
| public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval number, ValueEval places) Implements org. Doc from org. | |
| evaluate | back to summary |
|---|---|
| public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0) Implements org. Doc from org. | |
| evaluate | back to summary |
|---|---|
| public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) Implements org.
| |