Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DecimalFormat (0.05 sec)

  1. 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)
  2. 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)
Back to top