Support floating point numbers in formulae

This commit is contained in:
Mike Hayes 2002-10-18 12:04:55 +00:00
parent 77cddc4088
commit 7c32adf1eb

View file

@ -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);