mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-30 01:06:03 +03:00
f2e24ecdd4
Excel, Gnumeric and Google Spreadsheet are case insensitive, so the default behavior of PHPExcel is modified accordingly. However OpenOffice is case sensitive and is also supported via the compatibility mode of PHPExcel. Fixes #31
54 lines
1.3 KiB
Plaintext
54 lines
1.3 KiB
Plaintext
# formula, expectedResultExcel, expectedResultOpenOffice
|
|
'=TRUE', TRUE, TRUE
|
|
'=1 + 2.5', 3.5, 3.5
|
|
'=2.5 + 1', 3.5, 3.5
|
|
'=1 - 2.5', -1.5, -1.5
|
|
'=2.5 - 1', 1.5, 1.5
|
|
'=3 > 1', TRUE, TRUE
|
|
'=3 > 3', FALSE, FALSE
|
|
'=1 > 3', FALSE, FALSE
|
|
'=3 < 1', FALSE, FALSE
|
|
'=3 < 3', FALSE, FALSE
|
|
'=1 < 3', TRUE, TRUE
|
|
'=3 = 1', FALSE, FALSE
|
|
'=3 = 3', TRUE, TRUE
|
|
'=1 = 1.0', TRUE, TRUE
|
|
'=3 >= 1', TRUE, TRUE
|
|
'=3 >= 3', TRUE, TRUE
|
|
'=1 >= 3', FALSE, FALSE
|
|
'=3 <= 1', FALSE, FALSE
|
|
'=3 <= 3', TRUE, TRUE
|
|
'=1 <= 3', TRUE, TRUE
|
|
'=3 <> 1', TRUE, TRUE
|
|
'=3 <> 3', FALSE, FALSE
|
|
'=1 <> 1.0', FALSE, FALSE
|
|
'="a" > "a"', FALSE, FALSE
|
|
'="A" > "A"', FALSE, FALSE
|
|
'="A" > "a"', FALSE, TRUE
|
|
'="a" > "A"', FALSE, FALSE
|
|
'="a" < "a"', FALSE, FALSE
|
|
'="A" < "A"', FALSE, FALSE
|
|
'="A" < "a"', FALSE, FALSE
|
|
'="a" < "A"', FALSE, TRUE
|
|
'="a" = "a"', TRUE, TRUE
|
|
'="A" = "A"', TRUE, TRUE
|
|
'="A" = "a"', TRUE, FALSE
|
|
'="a" = "A"', TRUE, FALSE
|
|
'="a" <= "a"', TRUE, TRUE
|
|
'="A" <= "A"', TRUE, TRUE
|
|
'="A" <= "a"', TRUE, FALSE
|
|
'="a" <= "A"', TRUE, TRUE
|
|
'="a" >= "a"', TRUE, TRUE
|
|
'="A" >= "A"', TRUE, TRUE
|
|
'="A" >= "a"', TRUE, TRUE
|
|
'="a" >= "A"', TRUE, FALSE
|
|
'="a" <> "a"', FALSE, FALSE
|
|
'="A" <> "A"', FALSE, FALSE
|
|
'="A" <> "a"', FALSE, TRUE
|
|
'="a" <> "A"', FALSE, TRUE
|
|
'="A" > "b"', FALSE, TRUE
|
|
'="a" > "b"', FALSE, FALSE
|
|
'="b" > "a"', TRUE, TRUE
|
|
'="b" > "A"', TRUE, FALSE
|
|
'="a2" > "a10"', TRUE, TRUE // Test natural sorting is not used
|