Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for FormatFloat (0.18 seconds)

  1. 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)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Click Count (0)
  2. 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,
    		},
    		{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  3. 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:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  4. api/go1.txt

    pkg strconv, func AppendUint([]uint8, uint64, int) []uint8
    pkg strconv, func Atoi(string) (int, error)
    pkg strconv, func CanBackquote(string) bool
    pkg strconv, func FormatBool(bool) string
    pkg strconv, func FormatFloat(float64, uint8, int, int) string
    pkg strconv, func FormatInt(int64, int) string
    pkg strconv, func FormatUint(uint64, int) string
    pkg strconv, func IsPrint(int32) bool
    pkg strconv, func Itoa(int) string
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top