- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for FormatFloat (0.15 sec)
-
logger/sql.go
} case int, int8, int16, int32, int64, uint, uint8, uint16, uint32, uint64: vars[idx] = utils.ToString(v) case float32: vars[idx] = strconv.FormatFloat(float64(v), 'f', -1, 32) case float64: vars[idx] = strconv.FormatFloat(v, 'f', -1, 64) case string: vars[idx] = escaper + strings.ReplaceAll(v, escaper, escaper+escaper) + escaper default: rv := reflect.ValueOf(v)
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Mar 21 08:00:02 GMT 2024 - 5K bytes - Viewed (0) -
internal/s3select/sql/value_test.go
wantOK: true, }, { name: "max", fields: fields{ value: []byte(strconv.FormatFloat(math.MaxFloat64, 'g', -1, 64)), }, want: math.MaxFloat64, wantOK: true, }, { name: "min", fields: fields{ value: []byte(strconv.FormatFloat(-math.MaxFloat64, 'g', -1, 64)), }, want: -math.MaxFloat64, wantOK: true, }, {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 06 16:56:10 GMT 2023 - 12.5K bytes - Viewed (0)