From 56aa6b82637b3210be470a8ebac1fdec2b2a6a30 Mon Sep 17 00:00:00 2001 From: xuri Date: Tue, 8 Mar 2022 00:03:02 +0800 Subject: ref #65, new formula functions and read boolean data type cell value support * added 3 new formula functions: BETAINV, BETA.INV, F.INV.RT --- rows_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rows_test.go') diff --git a/rows_test.go b/rows_test.go index 208b2de..22b038a 100644 --- a/rows_test.go +++ b/rows_test.go @@ -950,6 +950,10 @@ func TestNumberFormats(t *testing.T) { assert.NoError(t, f.Close()) } +func TestRoundPrecision(t *testing.T) { + assert.Equal(t, "text", roundPrecision("text", 0)) +} + func BenchmarkRows(b *testing.B) { f, _ := OpenFile(filepath.Join("test", "Book1.xlsx")) for i := 0; i < b.N; i++ { -- cgit v1.2.1