Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 382 for float (0.02 seconds)

  1. docs/uk/docs/tutorial/path-params-numeric-validations.md

    * `le`: `l`ess than or `e`qual (менше або дорівнює)
    
    {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py39.py hl[10] *}
    
    ## Валідація числових даних: float, більше ніж і менше ніж
    
    Валідація чисел також працює для значень типу `float`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 16:27:21 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  2. docs/fr/docs/python-types.md

    # Introduction aux Types Python
    
    Python supporte des annotations de type (ou *type hints*) optionnelles.
    
    Ces annotations de type constituent une syntaxe spéciale qui permet de déclarer le <abbr title="par exemple : str, int, float, bool">type</abbr> d'une variable.
    
    En déclarant les types de vos variables, cela permet aux différents outils comme les éditeurs de texte d'offrir un meilleur support.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 10K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java

            Map<String, Object> configProperties =
                    systemSessionFactory.newRepositorySession(request).getConfigProperties();
            assertEquals(String.valueOf(Float.MAX_VALUE), configProperties.get("aether.priority.FileTransporterFactory"));
            assertEquals(String.valueOf(Float.MAX_VALUE), configProperties.get("aether.priority.ApacheTransporterFactory"));
            properties.remove("maven.resolver.transport");
    
            // wagon
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/path-params.md

                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    这是因为路径参数 `item_id` 的值 (`"foo"`)的类型不是 `int`。
    
    值的类型不是 `int ` 而是浮点数(`float`)时也会显示同样的错误,比如: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2。</a>
    
    /// check | 检查
    
    **FastAPI** 使用 Python 类型声明实现了数据校验。
    
    注意,上面的错误清晰地指出了未通过校验的具体原因。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 15 16:43:19 GMT 2024
    - 7.4K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/path-params.md

          "input": "foo"
        }
      ]
    }
    ```
    
    porque o parâmetro de path `item_id` tinha o valor `"foo"`, que não é um `int`.
    
    O mesmo erro apareceria se você fornecesse um `float` em vez de um `int`, como em: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a>
    
    /// check | Verifique
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnectorFactory.java

                throws NoRepositoryConnectorException {
            return new TestRepositoryConnector(repository);
        }
    
        @Override
        public float getPriority() {
            return 0;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. schema/field.go

    	UnixMillisecond TimeType = 3
    	UnixNanosecond  TimeType = 4
    )
    
    // GORM fields types
    const (
    	Bool   DataType = "bool"
    	Int    DataType = "int"
    	Uint   DataType = "uint"
    	Float  DataType = "float"
    	String DataType = "string"
    	Time   DataType = "time"
    	Bytes  DataType = "bytes"
    )
    
    const DefaultAutoIncrementIncrement int64 = 1
    
    // Field is the representation of model schema's field
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sat Nov 22 03:14:36 GMT 2025
    - 32.2K bytes
    - Click Count (0)
  8. internal/s3select/sql/funceval.go

    		f, err := strconv.ParseFloat(strings.TrimSpace(x), 64)
    		if err != nil {
    			return 0, errCastFailure("could not parse as float")
    		}
    		return f, nil
    	case []byte:
    		f, err := strconv.ParseFloat(strings.TrimSpace(string(x)), 64)
    		if err != nil {
    			return 0, errCastFailure("could not parse as float")
    		}
    		return f, nil
    	default:
    		return 0, errUnsupportedCast(v.GetTypeString(), castFloat)
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  9. docs/ru/docs/python-types.md

    Python поддерживает необязательные «подсказки типов» (их также называют «аннотациями типов»).
    
    Эти **«подсказки типов»** или аннотации — это специальный синтаксис, позволяющий объявлять <abbr title="например: str, int, float, bool">тип</abbr> переменной.
    
    Объявляя типы для ваших переменных, редакторы кода и инструменты смогут лучше вас поддерживать.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  10. docs/en/docs/python-types.md

    Python has support for optional "type hints" (also called "type annotations").
    
    These **"type hints"** or annotations are a special syntax that allow declaring the <abbr title="for example: str, int, float, bool">type</abbr> of a variable.
    
    By declaring types for your variables, editors and tools can give you better support.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 15.6K bytes
    - Click Count (0)
Back to Top