- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DecimalFormat (0.06 sec)
-
src/main/java/org/codelibs/core/text/DecimalFormatUtil.java
*/ package org.codelibs.core.text; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.util.Locale; import org.codelibs.core.misc.LocaleUtil; /** * Utility class for {@link DecimalFormat}. * * @author higa */ public abstract class DecimalFormatUtil { /** * Do not instantiate. */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
* @param pattern the number format pattern * @return formatted number string */ public static String formatNumber(final long value, final String pattern) { final DecimalFormat df = (DecimalFormat) NumberFormat.getNumberInstance(getUserLocale()); df.applyPattern(pattern); return df.format(value); } /** * Retrieves the current user's locale from the request manager.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/converter/NumberConverter.java
} try { return new DecimalFormat(pattern).parse(value); } catch (final ParseException e) { throw new ParseRuntimeException(e); } } @Override public String getAsString(final Object value) { if (value == null) { return null; } return new DecimalFormat(pattern).format(value); } @Override
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.1K bytes - Viewed (0) -
README.md
Tokenizer tokenizer = new Tokenizer("field1,field2,field3", ","); while (tokenizer.hasMoreTokens()) { String token = tokenizer.nextToken(); // Process each token } // Decimal formatting DecimalFormat format = DecimalFormatUtil.getDecimalFormat("###,###.00"); ``` ### Exception Handling ```java import org.codelibs.core.exception.*; // Runtime exception wrappers eliminate try-catch boilerplate try {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0)