Merge pull request #39 from julianespinel/new-formater/remove-println

remove fmt.Println in format.go
This commit is contained in:
Lucas Liu
2018-09-05 17:25:12 +08:00
committed by GitHub

View File

@@ -1,8 +1,6 @@
package xls
import (
"fmt"
formatter "github.com/extrame/xls/format"
)
@@ -17,6 +15,5 @@ type format struct {
func (f *format) Format(val float64, date1904 bool) string {
_, tokens := formatter.Lexer(f.str)
ds := formatter.Parse(tokens)
fmt.Println("=>", val)
return ds.Format(val, date1904)
}