Support floating point numbers in formulae
This commit is contained in:
parent
77cddc4088
commit
7c32adf1eb
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ public class FormulaParser {
|
|||
do {
|
||||
num += look;
|
||||
status = getChar();
|
||||
} while(isDigit(look) && status);
|
||||
} while((isDigit(look) || ((look == '.') && isDigit(formulaStr.charAt(index)))) && status);
|
||||
skipWhite();
|
||||
tokenVector.add(tokenFactory.getOperandToken(num, "INTEGER"));
|
||||
Debug.log(Debug.TRACE,"Number parsed : " + num);
|
||||
|
|
Loading…
Reference in a new issue