- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for DecimalFormat (2.4 sec)
-
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); } @OverrideRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.1K bytes - Viewed (0) -
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: Sat Dec 20 08:55:33 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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 25.4K bytes - Viewed (1) -
src/main/java/org/codelibs/core/convert/StringConversionUtil.java
* governing permissions and limitations under the License. */ package org.codelibs.core.convert; import static org.codelibs.core.lang.StringUtil.isEmpty; import java.text.DecimalFormat; import java.text.SimpleDateFormat; import org.codelibs.core.misc.Base64Util; /** * Utility class for conversions related to {@link String}. * * @author higa */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.7K 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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0)