- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for toPrimitiveDouble (0.05 sec)
-
src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java
* Converts to {@literal double}. * * @param o * The object to convert * @return The converted {@literal double} */ public static double toPrimitiveDouble(final Object o) { return toPrimitiveDouble(o, null); } /** * Converts to {@literal double}. * * @param o * The object to convert * @param pattern
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DoubleConversionUtilTest.java
*/ public void testToPrimitiveDouble() throws Exception { assertEquals(1000.5, DoubleConversionUtil.toPrimitiveDouble("1,000.5"), 0); } /** * @throws Exception */ public void testToPrimitiveDoubleForEmptyString() throws Exception { assertEquals(0, DoubleConversionUtil.toPrimitiveDouble(""), 0); } /** * @throws Exception */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.5K bytes - Viewed (0)