Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FormatFloat (0.04 sec)

  1. 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)
  2. 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)
Back to top