v1.16.6
FIXED: * tplx/sprigx float to string non-truncating was... truncating. it no longer is.
This commit is contained in:
@@ -45,7 +45,7 @@ func numFloat64Str(f float64) (s string) {
|
||||
var bf *big.Float
|
||||
|
||||
bf = big.NewFloat(f)
|
||||
s = bf.String()
|
||||
s = bf.Text('f', -1)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user