Spreadsheet: Interpret numbers as floats, not integers
This commit is contained in:
parent
21c605bfda
commit
21671d9b91
Notes:
sideshowbarker
2024-07-17 11:08:37 +09:00
Author: https://github.com/water-ghosts Commit: https://github.com/SerenityOS/serenity/commit/21671d9b91 Pull-request: https://github.com/SerenityOS/serenity/pull/13861 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/alimpfard
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue