bitsize largest option is 64
This commit is contained in:
committed by
Jack Christensen
parent
905f252667
commit
12582a0fd4
+1
-1
@@ -762,7 +762,7 @@ func (scanPlanTextAnyToNumericScanner) Scan(src []byte, dst any) error {
|
||||
if strings.ContainsAny(string(src), "eE") {
|
||||
if bigF, ok := new(big.Float).SetString(string(src)); ok {
|
||||
smallF, _ := bigF.Float64()
|
||||
src = []byte(strconv.FormatFloat(smallF, 'f', -1, int(bigF.Prec())))
|
||||
src = []byte(strconv.FormatFloat(smallF, 'f', -1, 64))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user