Syntax:
VALUE(text)
Converts the text argument to a number. Leading and/or trailing whitespace is ignored. Currency symbols and thousands separators are stripped out. Scientific notation is also supported. If the supplied text does not convert properly the result is #VALUE! error. Blank string converts to zero.
| Modifier and Type | Field and Description |
|---|---|
| private static final int | MIN_DISTANCE_BETWEEN_THOUSANDS_SEPARATOR
"1,0000" is valid, "1,00" is not |
| private static final Double |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Double | Returns: null if there is any problem converting the textTODO see if the same functionality is needed in |
| public ValueEval | evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0)
Implements org. |
| public ValueEval | evaluateArray(ValueEval[]
the evaluated function arguments. Empty values are represented with
args, int BlankEval or MissingArgEval, never null.row index of the cell containing the formula under evaluation srcRowIndex, int column index of the cell containing the formula under evaluation srcColumnIndex)Implements org.
|
| public static Double |
| MIN_DISTANCE_BETWEEN_THOUSANDS_SEPARATOR | back to summary |
|---|---|
| private static final int MIN_DISTANCE_BETWEEN_THOUSANDS_SEPARATOR "1,0000" is valid, "1,00" is not | |
| ZERO | back to summary |
|---|---|
| private static final Double ZERO | |
| Value | back to summary |
|---|---|
| public Value() | |
| convertTextToNumber | back to summary |
|---|---|
| public static Double convertTextToNumber(String strText) TODO see if the same functionality is needed in
| |
| evaluate | back to summary |
|---|---|
| public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0) Implements org. Doc from org. | |
| evaluateArray | back to summary |
|---|---|
| public ValueEval evaluateArray(ValueEval[] args, int srcRowIndex, int srcColumnIndex) Implements org.
| |
| parseDateTime | back to summary |
|---|---|
| public static Double parseDateTime(String pText) | |