- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for DecimalFormat (0.22 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); } @Override
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.1K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java
* * TODO - need to sort out scaling when dividing or converting between units. */ public class Amount<Q> implements Comparable<Amount<Q>> { // decimalFormat is not thread safe - synchronize access to the instance private static final DecimalFormat DECIMAL_FORMAT = new DecimalFormat("#.###", new DecimalFormatSymbols(Locale.US)); private final BigDecimal value; private final Units<Q> units; private final BigDecimal normalised;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.2K 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; /** * {@link DecimalFormat}用のユーティリティクラスです。 * * @author higa */ public abstract class DecimalFormatUtil { /** * 数値の文字列での表記を正規化します。 *
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
} public static String formatNumber(final long value, final String pattern) { final DecimalFormat df = (DecimalFormat) NumberFormat.getNumberInstance(getUserLocale()); df.applyPattern(pattern); return df.format(value); } private static Locale getUserLocale() {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 16.9K bytes - Viewed (0) -
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; /** * {@link String}用の変換ユーティリティです。 * * @author higa */ public abstract class StringConversionUtil {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/plan/DefaultPlanExecutor.java
import org.gradle.internal.work.WorkerLeaseService; import javax.annotation.Nullable; import java.io.Closeable; import java.io.IOException; import java.math.BigDecimal; import java.math.RoundingMode; import java.text.DecimalFormat; import java.time.Instant; import java.time.temporal.ChronoUnit; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.LinkedList; import java.util.List;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 29.1K bytes - Viewed (0)