- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 382 for float (0.02 seconds)
-
docs/es/docs/python-types.md
Python tiene soporte para "anotaciones de tipos" opcionales (también llamadas "type hints"). Estas **"anotaciones de tipos"** o type hints son una sintaxis especial que permite declarar el <abbr title="por ejemplo: str, int, float, bool">tipo</abbr> de una variable. Al declarar tipos para tus variables, los editores y herramientas te pueden proporcionar un mejor soporte.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 16.4K bytes - Click Count (1) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
@Generates Long generateLongObject() { return new Long(generateLong()); } @Generates float generateFloat() { return generateInt(); } @SuppressWarnings("removal") // b/321209431 -- maybe just use valueOf here? @Generates Float generateFloatObject() { return new Float(generateFloat()); } @Generates double generateDouble() { return generateInt(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 28.1K bytes - Click Count (0) -
guava/src/com/google/common/hash/AbstractCompositeHashFunction.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 5.3K bytes - Click Count (0) -
docs/de/docs/tutorial/path-params-numeric-validations.md
{* ../../docs_src/path_params_numeric_validations/tutorial005_an_py39.py hl[10] *} ## Validierung von Zahlen: Floats, größer und kleiner { #number-validations-floats-greater-than-and-less-than } Zahlenvalidierung funktioniert auch für <abbr title="Fließkommazahlen">`float`</abbr>-Werte.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.1K bytes - Click Count (0) -
api/go1.6.txt
pkg image/color, type NYCbCrA struct, A uint8 pkg image/color, type NYCbCrA struct, embedded YCbCr pkg image/color, var NYCbCrAModel Model pkg math/big, method (*Float) MarshalText() ([]uint8, error) pkg math/big, method (*Float) UnmarshalText([]uint8) error pkg math/big, method (*Int) Append([]uint8, int) []uint8 pkg math/big, method (*Int) Text(int) string pkg math/rand, func Read([]uint8) (int, error)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Jan 13 23:40:13 GMT 2016 - 12.9K bytes - Click Count (0) -
tests/test_extra_routes.py
from fastapi.responses import JSONResponse from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: Optional[float] = None @app.api_route("/items/{item_id}", methods=["GET"]) def get_items(item_id: str): return {"item_id": item_id} def get_not_decorated(item_id: str): return {"item_id": item_id}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 13.5K bytes - Click Count (0) -
src/cmd/asm/internal/asm/parse.go
p.errorf("missing closing paren") } return v case '+': return +p.floatExpr() case '-': return -p.floatExpr() case scanner.Float: return p.atof(tok.String()) } p.errorf("unexpected %s evaluating float expression", tok) return 0 } // term = factor | factor ('*' | '/' | '%' | '>>' | '<<' | '&') factor func (p *Parser) term() uint64 { value := p.factor()
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Nov 12 03:59:40 GMT 2025 - 37.3K bytes - Click Count (0) -
docs/es/docs/tutorial/path-params-numeric-validations.md
{* ../../docs_src/path_params_numeric_validations/tutorial005_an_py39.py hl[10] *} ## Validaciones numéricas: flotantes, mayor y menor { #number-validations-floats-greater-than-and-less-than } Las validaciones numéricas también funcionan para valores `float`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.4K bytes - Click Count (0) -
src/cmd/api/testdata/src/pkg/p1/golden.txt
pkg p1, const ConstChase2 = 11 pkg p1, const ConstChase2 ideal-int pkg p1, const ConversionConst = 5 pkg p1, const ConversionConst MyInt pkg p1, const FloatConst = 1.5 // 3/2 pkg p1, const FloatConst ideal-float pkg p1, const StrConst = "foo" pkg p1, const StrConst ideal-string pkg p1, func Bar(int8, int16, int64) pkg p1, func Bar1(int8, int16, int64) uint64 pkg p1, func Bar2(int8, int16, int64) (uint8, uint64)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Jul 24 16:04:17 GMT 2025 - 3.6K bytes - Click Count (0) -
docs/en/docs/index.md
```Python hl_lines="4 9-12 25-27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 25 11:01:37 GMT 2025 - 23.5K bytes - Click Count (0)