- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 300 for FLOAT (0.01 sec)
-
src/main/java/org/codelibs/core/convert/FloatConversionUtil.java
} private static Float toFloat(final String s) { if (StringUtil.isEmpty(s)) { return null; } return Float.valueOf(DecimalFormatUtil.normalize(s)); } /** * Converts to {@literal float}. * * @param o * The object to convert * @return The converted {@literal float} */ public static float toPrimitiveFloat(final Object o) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.6K bytes - Viewed (0) -
tests/test_starlette_urlconvertors.py
def test_route_converters_float(): # Test float conversion response = client.get("/float/25.5") assert response.status_code == 200, response.text assert response.json() == {"float": 25.5} assert app.url_path_for("float_convertor", param=25.5) == "/float/25.5" # type: ignore def test_route_converters_path(): # Test path conversion
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Nov 27 14:46:06 UTC 2022 - 1.7K bytes - Viewed (0) -
tests/main.py
def get_path_param_gt(item_id: float = Path(gt=3)): return item_id @app.get("/path/param-gt0/{item_id}") def get_path_param_gt0(item_id: float = Path(gt=0)): return item_id @app.get("/path/param-ge/{item_id}") def get_path_param_ge(item_id: float = Path(ge=3)): return item_id @app.get("/path/param-lt/{item_id}") def get_path_param_lt(item_id: float = Path(lt=3)): return item_id
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java
* The method evaluates the boost expression and converts the result to a float value. * Supports Integer, Long, Float, Double, and String representations of numbers. * * @param map the document data as a map of field names to values * @return the calculated boost value as a float, or 0.0f if evaluation fails */ public float getValue(final Map<String, Object> map) { if (map == null || map.isEmpty()) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.8K bytes - Viewed (0) -
tests/test_allow_inf_nan_in_enforcing.py
from fastapi.testclient import TestClient app = FastAPI() @app.post("/") async def get( x: Annotated[float, Query(allow_inf_nan=True)] = 0, y: Annotated[float, Query(allow_inf_nan=False)] = 0, z: Annotated[float, Query()] = 0, b: Annotated[float, Body(allow_inf_nan=False)] = 0, ) -> str: return "OK" client = TestClient(app) @pytest.mark.parametrize(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 1.8K bytes - Viewed (0) -
docs_src/body/tutorial001_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 309 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
} public void testCheckNonNegative_zeroFloat() { MathPreconditions.checkNonNegative("float", 0f); } public void testCheckNonNegative_maxFloat() { MathPreconditions.checkNonNegative("float", Float.MAX_VALUE); } public void testCheckNonNegative_minFloat() { MathPreconditions.checkNonNegative("float", Float.MIN_VALUE); } public void testCheckNonNegative_positiveFloat() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (0) -
docs_src/response_model/tutorial001_01_py310.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: list[str] = [] @app.post("/items/") async def create_item(item: Item) -> Item: return item @app.get("/items/") async def read_items() -> list[Item]: return [
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Jan 07 13:45:48 UTC 2023 - 469 bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial001_py310.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None model_config = { "json_schema_extra": { "examples": [ { "name": "Foo", "description": "A very nice Item", "price": 35.4,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 646 bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/ne.css
a { display: block; float: left; width: 300px; height: 50px; padding: 2px; font-family: Verdana, sans-serif; font-size: 10pt; color: #000000; text-decoration: none } a.plain { display: inline; float: none; width: auto; height: auto } a.sort { display: block; float: left; width: 100px; height: 15px; font-family: Verdana, sans-serif;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.2K bytes - Viewed (0)