From 21671d9b91fdf0675b1fedfbb68ec50714427e4e Mon Sep 17 00:00:00 2001 From: Eli Youngs Date: Sun, 1 May 2022 09:34:07 -0700 Subject: Spreadsheet: Interpret numbers as floats, not integers --- Base/res/js/Spreadsheet/runtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Base/res') diff --git a/Base/res/js/Spreadsheet/runtime.js b/Base/res/js/Spreadsheet/runtime.js index d7b1c439a4..12f8195c20 100644 --- a/Base/res/js/Spreadsheet/runtime.js +++ b/Base/res/js/Spreadsheet/runtime.js @@ -431,7 +431,7 @@ function numericReduce(op, accumulator, cells) { } function numericResolve(cells) { - return resolve(cells).map(val => parseInt(val)); + return resolve(cells).map(val => parseFloat(val)); } function resolve(cells) { -- cgit v1.2.3