forked from sheetjs/sheetjs
SheetJS
43f8f00ef5
- Proper fraction handling (using frac.cont) - Better handling of negative number cases - More tests!
68 lines
1.9 KiB
JSON
68 lines
1.9 KiB
JSON
[
|
|
[12345.6789, 0, "12345.6789"],
|
|
[12345.6789, 1, "12346"],
|
|
[12345.6789, 2, "12345.68"],
|
|
[12345.6789, 3, "12,346"],
|
|
[12345.6789, 4, "12,345.68"],
|
|
[12345.6789, 9, "1234568%"],
|
|
[12345.6789, 10, "1234567.89%"],
|
|
[12345.6789, 11, "1.23E+04"],
|
|
[12345.6789, 12, "12345 2/3"],
|
|
[12345.6789, 13, "12345 55/81"],
|
|
[12345.6789, 14, "10/18/33"],
|
|
[12345.6789, 15, "18-Oct-33"],
|
|
[12345.6789, 16, "18-Oct"],
|
|
[12345.6789, 17, "Oct-33"],
|
|
[12345.6789, 18, "4:17 PM"],
|
|
[12345.6789, 19, "4:17:37 PM"],
|
|
[12345.6789, 20, "16:17"],
|
|
[12345.6789, 21, "16:17:37"],
|
|
[12345.6789, 22, "10/18/33 16:17"],
|
|
[12345.6789, 37, "12,346"],
|
|
[12345.6789, 38, "12,346"],
|
|
[12345.6789, 39, "12,345.68"],
|
|
[12345.6789, 40, "12,345.68"],
|
|
[12345.6789, 45, "17:37"],
|
|
[12345.6789, 46, "296296:17:37"],
|
|
[12345.6789, 47, "1737.0"],
|
|
[12345.6789, 48, "12.3E+3"],
|
|
[12345.6789, 49, "12345.6789"],
|
|
|
|
[-12345.6789, 0, "-12345.6789"],
|
|
[-12345.6789, 1, "-12346"],
|
|
[-12345.6789, 2, "-12345.68"],
|
|
[-12345.6789, 3, "-12,346"],
|
|
[-12345.6789, 4, "-12,345.68"],
|
|
[-12345.6789, 9, "-1234568%"],
|
|
[-12345.6789, 10, "-1234567.89%"],
|
|
[-12345.6789, 11, "-1.23E+04"],
|
|
[-12345.6789, 12, "-12345 2/3"],
|
|
[-12345.6789, 13, "-12345 55/81"],
|
|
[-12345.6789, 14, ""],
|
|
[-12345.6789, 15, ""],
|
|
[-12345.6789, 16, ""],
|
|
[-12345.6789, 17, ""],
|
|
[-12345.6789, 18, ""],
|
|
[-12345.6789, 19, ""],
|
|
[-12345.6789, 20, ""],
|
|
[-12345.6789, 21, ""],
|
|
[-12345.6789, 22, ""],
|
|
[-12345.6789, 37, "(12,346)"],
|
|
[-12345.6789, 38, "(12,346)"],
|
|
[-12345.6789, 39, "(12,345.68)"],
|
|
[-12345.6789, 40, "(12,345.68)"],
|
|
[-12345.6789, 45, ""],
|
|
[-12345.6789, 46, ""],
|
|
[-12345.6789, 47, ""],
|
|
[-12345.6789, 48, "-12.3E+3"],
|
|
[-12345.6789, 49, "-12345.6789"],
|
|
|
|
[11.666666666666666, 0, "11.66666667"],
|
|
[5.057996968497839, 0, "5.057996968"],
|
|
[4.380353866983808, 0, "4.380353867"],
|
|
[12.333333333333343, 0, "12.33333333"],
|
|
[-0.000006211546860868111, 0, "-6.21155E-06"],
|
|
|
|
[0, 0, "0"]
|
|
]
|