21
0
Fork 0

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
commit eaa44e594d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

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)
}