summaryrefslogtreecommitdiff
path: root/Base/res
diff options
context:
space:
mode:
authorEli Youngs <eli.m.youngs@gmail.com>2022-05-01 09:34:07 -0700
committerLinus Groh <mail@linusgroh.de>2022-05-08 16:45:21 +0200
commit21671d9b91fdf0675b1fedfbb68ec50714427e4e (patch)
tree54087e221e4596d32cd6aa0b76808fbe666e08ac /Base/res
parent21c605bfda3696c2a3729d904364d131de8e9b7f (diff)
downloadserenity-21671d9b91fdf0675b1fedfbb68ec50714427e4e.zip
Spreadsheet: Interpret numbers as floats, not integers
Diffstat (limited to 'Base/res')
-rw-r--r--Base/res/js/Spreadsheet/runtime.js2
1 files changed, 1 insertions, 1 deletions
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) {