diff options
author | Ri Xu <xuri.me@gmail.com> | 2017-07-15 16:03:12 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2017-07-15 16:03:12 +0800 |
commit | 101abe8e98487f56f2af925b5cb3ca7baf5c66cf (patch) | |
tree | 24156c348266029ca1711b31e395cc52cb95aace /excelize_test.go | |
parent | 60fa5a5be10b305b31b53dddadbb44a229898cf8 (diff) |
Add currency format code and go test updated.
Diffstat (limited to 'excelize_test.go')
-rw-r--r-- | excelize_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/excelize_test.go b/excelize_test.go index 0cb1c32..d6e6d05 100644 --- a/excelize_test.go +++ b/excelize_test.go @@ -398,7 +398,7 @@ func TestSetCellStyleCurrencyNumberFormat(t *testing.T) { t.Log(err) } xlsx.SetCellValue("Sheet1", "A1", 56) - xlsx.SetCellValue("Sheet1", "A2", 32.3) + xlsx.SetCellValue("Sheet1", "A2", -32.3) var style int style, err = xlsx.NewStyle(`{"number_format": 188, "decimal_places": -1}`) if err != nil { |