Resolve Issue with float values losing their decimal when read from SpreadsheetML

This commit is contained in:
MarkBaker
2021-05-20 22:38:28 +02:00
committed by Mark Baker
parent e6a4442d9a
commit 60ade80c0f
2 changed files with 22 additions and 10 deletions
@@ -10,4 +10,6 @@ return [
'Formula arithmetic' => ['=SUM(E1:E5, D5)-C5', 'of:=SUM([.E1:.E5], [.D5])-[.C5]'],
'Formula with comparison' => ['=IF(E1>E2, E3, E4)', 'of:=IF([.E1]>[.E2], [.E3], [.E4])'],
'String literal' => ['=CONCAT("Result of formula expression =[.C3]+[.C4] is: ", C3+C4)', 'of:=CONCAT("Result of formula expression =[.C3]+[.C4] is: ", [.C3]+[.C4])'],
'Simple numeric addition' => ['=1.23+2.34', 'of:=1.23+2.34'],
'More complex formula with cells and numeric literals' => ['=D3+F7+G4+C6+5.67', 'of:=[.D3]+[.F7]+[.G4]+[.C6]+5.67'],
];