Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 564 for FLOAT (0.02 seconds)

  1. src/main/java/org/codelibs/core/lang/ClassUtil.java

            wrapperToPrimitiveMap.put(Short.class, Short.TYPE);
            wrapperToPrimitiveMap.put(Integer.class, Integer.TYPE);
            wrapperToPrimitiveMap.put(Long.class, Long.TYPE);
            wrapperToPrimitiveMap.put(Float.class, Float.TYPE);
            wrapperToPrimitiveMap.put(Double.class, Double.TYPE);
    
            primitiveToWrapperMap.put(Boolean.TYPE, Boolean.class);
            primitiveToWrapperMap.put(Character.TYPE, Character.class);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/convert/FloatConversionUtilTest.java

    /**
     * @author higa
     *
     */
    public class FloatConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToFloat() throws Exception {
            assertEquals(Float.valueOf("1000.5"), FloatConversionUtil.toFloat("1,000.5"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveFloat() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/path-params.md

          "input": "foo"
        }
      ]
    }
    ```
    
    Der Pfad-Parameter `item_id` hatte den Wert „foo“, was kein `int` ist.
    
    Die gleiche Fehlermeldung würde angezeigt werden, wenn Sie ein `float` (also eine Kommazahl) statt eines `int`s übergeben würden, wie etwa in: [http://127.0.0.1:8000/items/4.2](http://127.0.0.1:8000/items/4.2)
    
    /// check | Testen
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 10K bytes
    - Click Count (0)
  4. src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js

    1,f.indexOf(";"))),e=parseFloat(f.substring(f.indexOf(";")+1,f.indexOf("]"))),h=!0),""!==i&&(j=!0),","===g){if(a.indexOf(".")>-1)return!1;a=a.replace(",",".")}if(""===a.replace(/[0-9-]/g,"")&&(!h||a>=d&&a<=e)&&(!j||a%i===0))return!0;if(f.indexOf("float")>-1&&null!==a.match(new RegExp("^([0-9-]+)\\.([0-9]+)$"))&&(!h||a>=d&&a<=e)&&(!j||a%i===0))return!0}return!1},errorMessage:"",errorMessageKey:"badInt"}),a.formUtils.addValidator({name:"alphanumeric",validatorFunction:function(b,c,d,e){var f="^([a...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 32.8K bytes
    - Click Count (0)
  5. docs/fr/docs/python-types.md

    Python prend en charge des « annotations de type » (aussi appelées « type hints ») facultatives.
    
    Ces **« annotations de type »** sont une syntaxe spéciale qui permet de déclarer le <dfn title="par exemple : str, int, float, bool">type</dfn> d'une variable.
    
    En déclarant les types de vos variables, les éditeurs et outils peuvent vous offrir un meilleur support.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  6. src/cmd/asm/internal/asm/testdata/ppc64.s

    	DCBT (R3)                       // 7c001a2c
    	ICBI (R3)(R4)                   // 7c041fac
    	ICBI (R3)(R0)                   // 7c001fac
    	ICBI (R3)                       // 7c001fac
    
    	// float constants
    	FMOVD $(0.0), F1                // f0210cd0
    	FMOVD $(-0.0), F1               // f0210cd0fc200850
    
    	FMOVD 8(R3), F1                 // c8230008
    	FMOVD (R3)(R4), F1              // 7c241cae
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Nov 21 18:27:17 GMT 2024
    - 51.7K bytes
    - Click Count (0)
  7. tests/test_get_request_body.py

    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Product(BaseModel):
        name: str
        description: str = None  # type: ignore
        price: float
    
    
    @app.get("/product")
    async def create_item(product: Product):
        return product
    
    
    client = TestClient(app)
    
    
    def test_get_with_body():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  8. 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: [http://127.0.0.1:8000/items/4.2](http://127.0.0.1:8000/items/4.2)
    
    /// check | Verifique
    Então, com a mesma declaração de tipo do Python, o **FastAPI** fornece validação de dados.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  9. 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 <dfn title="por ejemplo: str, int, float, bool">tipo</dfn> de una variable.
    
    Al declarar tipos para tus variables, los editores y herramientas te pueden proporcionar un mejor soporte.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (1)
  10. docs/pt/docs/python-types.md

    O Python possui suporte para "type hints" opcionais (também chamados de "type annotations").
    
    Esses **"type hints"** ou anotações são uma sintaxe especial que permite declarar o <dfn title="por exemplo: str, int, float, bool">tipo</dfn> de uma variável.
    
    Ao declarar tipos para suas variáveis, editores e ferramentas podem oferecer um melhor suporte.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.7K bytes
    - Click Count (0)
Back to Top