sheetjs-clone/test/oddities.json
SheetJS 703b051c15 version bump 0.5.8: 0.##-type formats
- cleaned up tower of cases of the form /^#,##0.0+$/
- formats like 0.## handled
2014-02-17 03:29:07 -05:00

51 lines
2.5 KiB
JSON

[
["\"foo\";\"bar\";\"baz\";\"qux\"",
[1, "foo"], [-1, "bar"], [0, "baz"], ["sheetjs", "qux"]
],
["\"foo\";\"bar\";\"baz\"",
[1, "foo"], [-1, "bar"], [0, "baz"], ["sheetjs", "sheetjs"]
],
["\"foo\";\"bar\";@",
[1, "foo"], [-1, "bar"], [0, "foo"], ["sheetjs", "sheetjs"]
],
["\"foo\";\"bar\"",
[1, "foo"], [-1, "bar"], [0, "foo"], ["sheetjs", "sheetjs"]
],
["@@", [1, "1"], [-1, "-1"], [0, "0"], ["sheetjs", "sheetjssheetjs"]],
["[Blue]General", [1, "1"], [-1, "-1"], [0, "0"], ["sheetjs", "sheetjs"]],
["[Blue]G3neral", [1], [-1], [0], ["TODO","TODO"]],
["A\"TODO\"", [1, "ATODO"], [-1, "ATODO"], [0, "ATODO"], ["TODO","TODO"]],
["r", [1], [-1], [0], ["TODO","TODO"]],
["((;@", [1,"(("], [0,"(("], ["foo","foo"]],
["\\r", [1, "r"], [-1, "r"], [0, "r"], ["TODO","TODO"]],
["_($* #,##0_);_($* (#,##0);_($* \"-\"_);_(@_)", [1, " $1 "], [-1, " $(1)"], [0," $- "], ["TODO", " TODO "], ["",""]],
["#,##0.0", [1,"1.0"], [-1,"-1.0"], [0,"0.0"], ["TODO","TODO"]],
["#,##0.00", [1,"1.00"], [-1,"-1.00"], [0,"0.00"], ["TODO","TODO"]],
["#,##0.000", [1,"1.000"], [-1,"-1.000"], [0,"0.000"], ["TODO","TODO"]],
["#,##0.0000", [1,"1.0000"], [-1,"-1.0000"], [0,"0.0000"], ["TODO","TODO"]],
["#,##0.00000", [1000000, "1,000,000.00000"]],
["#,##0.000000", [1000000, "1,000,000.000000"]],
["#,##0.0000000", [1000000, "1,000,000.0000000"]],
["#,##0.00000000", [1000000, "1,000,000.00000000"]],
["#,##0.000000000", [1000000, "1,000,000.000000000"]],
["#,###", [1, "1"], [-1, "-1"], [0,""], ["TODO", "TODO"]],
["#.##", [1, "1."], [-1, "-1."], [0,"."], ["sheetjs", "sheetjs"]],
["0;0", [1.1, "1"], [-1.1, "-1"], [0,"0"], ["sheetjs", "sheetjs"]],
["0.0", [1, "1.0"], [-1, "-1.0"], [0,"0.0"], ["sheetjs", "sheetjs"]],
["0.00", [1, "1.00"], [-1, "-1.00"], [0,"0.00"], ["sheetjs", "sheetjs"]],
["0.000", [1, "1.000"], [-1, "-1.000"], [0,"0.000"], ["sheetjs", "sheetjs"]],
["0.0000", [1, "1.0000"], [-1, "-1.0000"], [0,"0.0000"], ["sheetjs", "sheetjs"]],
["hh:mm AM/PM", [0.7, "04:48 PM"]],
["hhh:mm AM/PM", [0.7]],
["hhh:mmm:sss", [0.7]],
["hh:mmm:sss", [0.7]],
["hh:mm:sss", [0.7]],
["[hhh]", [0.7]],
["[", [0.7]],
["A/P", [0.7, "P"]],
["e", [0.7, "1900"]],
["123", [0.7, "123"], [0, "123"], ["sheetjs", "sheetjs"]],
["0.##", [1,"1."], [-1,"-1."], [0, "0."], [1.1, "1.1"], [-1.2, "-1.2"], [1000000000000.01, "1000000000000.01"], [-1000.01, "-1000.01"], [0.1, "0.1"], [1.007, "1.01"], [-1.008, "-1.01"]],
["\"foo\";\"bar\";\"baz\";\"qux\";\"foobar\"", [1], [0], [-1], ["sheetjs"]]
]