Skip to content

Commit

Permalink
remove dead line
Browse files Browse the repository at this point in the history
  • Loading branch information
yungtrizzle authored and jackc committed Dec 9, 2023
1 parent 95b2f85 commit 9927e14
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pgtype/numeric.go
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,6 @@ 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())))
}
}
Expand Down

0 comments on commit 9927e14

Please sign in to comment.