diff options
Diffstat (limited to 'odk/examples/java/Spreadsheet/SCalc.java')
-rw-r--r-- | odk/examples/java/Spreadsheet/SCalc.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/java/Spreadsheet/SCalc.java b/odk/examples/java/Spreadsheet/SCalc.java index 90c5ce00f41d..db1bee8a803a 100644 --- a/odk/examples/java/Spreadsheet/SCalc.java +++ b/odk/examples/java/Spreadsheet/SCalc.java @@ -374,7 +374,7 @@ public class SCalc { } if (flag.equals("V")) { - xCell.setValue((new Float(theValue)).floatValue()); + xCell.setValue((Float.valueOf(theValue)).floatValue()); } else { xCell.setFormula(theValue); } |