View | Details | Raw Unified | Return to bug 33160
Collapse All | Expand All

(-)src/java/org/apache/poi/hssf/model/FormulaParser.java (-1 / +3 lines)
Lines 484-490 Link Here
484
                if (IsDigit(look)) number = number +"."+ GetNum(); //this also takes care of someone entering "1234."
484
                if (IsDigit(look)) number = number +"."+ GetNum(); //this also takes care of someone entering "1234."
485
                tokens.add(new NumberPtg(number));
485
                tokens.add(new NumberPtg(number));
486
            } else {
486
            } else {
487
                tokens.add(new IntPtg(number));  //TODO:what if the number is too big to be a short? ..add factory to return Int or Number!
487
                tokens.add(new NumberPtg(number));
488
                // Note: Changed from IntPtg to NumberPtg as a temporary fix. See "previous TODO" below.
489
                //previous TODO:what if the number is too big to be a short? ..add factory to return Int or Number!
488
            }
490
            }
489
        }
491
        }
490
    }
492
    }

Return to bug 33160