- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DecimalFormat (0.13 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: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 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; /** * {@link DecimalFormat}用のユーティリティクラスです。 * * @author higa */ public abstract class DecimalFormatUtil { /** * 数値の文字列での表記を正規化します。 *
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java
String throughput = ""; long duration = System.currentTimeMillis() - resource.getTransferStartTime(); if (duration > 0) { DecimalFormat format = new DecimalFormat("0.0", new DecimalFormatSymbols(Locale.ENGLISH)); double kbPerSec = (contentLength / 1024.0) / (duration / 1000.0); throughput = " at " + format.format(kbPerSec) + " KB/sec";
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K 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: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.5K bytes - Viewed (0)