diff options
Diffstat (limited to 'cell_test.go')
-rw-r--r-- | cell_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cell_test.go b/cell_test.go index ba326d9..12efc17 100644 --- a/cell_test.go +++ b/cell_test.go @@ -66,7 +66,7 @@ func TestSetCellFloat(t *testing.T) { func ExampleFile_SetCellFloat() { f := NewFile() - var x float64 = 3.14159265 + var x = 3.14159265 f.SetCellFloat("Sheet1", "A1", x, 2, 64) fmt.Println(f.GetCellValue("Sheet1", "A1")) // Output: 3.14 |