Merge pull request #39 from julianespinel/new-formater/remove-println
remove fmt.Println in format.go
This commit is contained in:
commit
eaa44e594d
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user