float format
This commit is contained in:
parent
f4e2c3fa58
commit
3f54900d96
2
col.go
2
col.go
@ -146,7 +146,7 @@ type NumberCol struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *NumberCol) String(wb *WorkBook) []string {
|
func (c *NumberCol) String(wb *WorkBook) []string {
|
||||||
return []string{fmt.Sprintf("%f", c.Float)}
|
return []string{strconv.FormatFloat(c.Float, 'f', -1, 64)}
|
||||||
}
|
}
|
||||||
|
|
||||||
type FormulaCol struct {
|
type FormulaCol struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user