Remove fmt.Println
This commit is contained in:
parent
ed8580ddea
commit
dac73cf010
@ -1,8 +1,6 @@
|
|||||||
package xls
|
package xls
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
|
|
||||||
formatter "github.com/extrame/xls/format"
|
formatter "github.com/extrame/xls/format"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -17,6 +15,5 @@ type format struct {
|
|||||||
func (f *format) Format(val float64, date1904 bool) string {
|
func (f *format) Format(val float64, date1904 bool) string {
|
||||||
_, tokens := formatter.Lexer(f.str)
|
_, tokens := formatter.Lexer(f.str)
|
||||||
ds := formatter.Parse(tokens)
|
ds := formatter.Parse(tokens)
|
||||||
fmt.Println("=>", val)
|
|
||||||
return ds.Format(val, date1904)
|
return ds.Format(val, date1904)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user