- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for toBigDecimal (0.06 sec)
-
src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java
public void testToBigDecimal() throws Exception { assertNull(BigDecimalConversionUtil.toBigDecimal(null)); assertSame(ZERO, BigDecimalConversionUtil.toBigDecimal(ZERO)); assertEquals(new BigDecimal("1"), BigDecimalConversionUtil.toBigDecimal(Byte.valueOf((byte) 1))); assertEquals(new BigDecimal("10"), BigDecimalConversionUtil.toBigDecimal(Short.valueOf((short) 10)));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java
*/ public static BigDecimal toBigDecimal(final Object o) { return toBigDecimal(o, null); } /** * Converts to {@link BigDecimal}. * * @param o * The object to convert * @param pattern * The pattern string * @return The converted {@link BigDecimal} */ public static BigDecimal toBigDecimal(final Object o, final String pattern) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
if (type == Integer.class) { return IntegerConversionUtil.toInteger(o); } else if (type == BigDecimal.class) { return BigDecimalConversionUtil.toBigDecimal(o); } else if (type == Double.class) { return DoubleConversionUtil.toDouble(o); } else if (type == Long.class) { return LongConversionUtil.toLong(o);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java
return fessConfig.get(propertyKey); } @Override public BigDecimal getAsDecimal(String propertyKey) { return DfTypeUtil.toBigDecimal(get(propertyKey)); } @Override public Integer getAsInteger(String propertyKey) { return DfTypeUtil.toInteger(get(propertyKey)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
return fessConfig.get(propertyKey); } @Override public BigDecimal getAsDecimal(String propertyKey) { return DfTypeUtil.toBigDecimal(get(propertyKey)); } @Override public Integer getAsInteger(String propertyKey) { return DfTypeUtil.toInteger(get(propertyKey)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.6K bytes - Viewed (0)