We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2da6499 commit d967f87Copy full SHA for d967f87
series/type-float.go
@@ -76,7 +76,7 @@ func (e floatElement) String() string {
76
if e.IsNA() {
77
return "NaN"
78
}
79
- return fmt.Sprintf("%f", e.e)
+ return fmt.Sprintf("%g", e.e)
80
81
82
func (e floatElement) Int() (int, error) {
0 commit comments