- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for FormatFloat (0.04 sec)
-
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, }, {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.4K bytes - Viewed (0) -
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)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 5K bytes - Viewed (0) -
internal/s3select/sql/value.go
return "" case bool: if x { return "true" } return "false" case string: return x case int64: return strconv.FormatInt(x, 10) case float64: return strconv.FormatFloat(x, 'g', -1, 64) case time.Time: return FormatSQLTimestamp(x) case []byte: return string(x) case []Value: b, _ := json.Marshal(x) return string(b) default:
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 20.4K bytes - Viewed (0)