- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getDecimalSeparator (0.09 sec)
-
src/test/java/org/codelibs/core/text/DecimalFormatSymbolsUtilTest.java
public void testGetDecimalFormatSymbols() throws Exception { final DecimalFormatSymbols symbols = DecimalFormatSymbolsUtil.getDecimalFormatSymbols(Locale.GERMAN); System.out.println("DecimalSeparator:" + symbols.getDecimalSeparator()); System.out.println("GroupingSeparator:" + symbols.getGroupingSeparator()); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/DecimalFormatUtil.java
if (s == null) { return null; } final DecimalFormatSymbols symbols = DecimalFormatSymbolsUtil.getDecimalFormatSymbols(locale); final char decimalSep = symbols.getDecimalSeparator(); final char groupingSep = symbols.getGroupingSeparator(); final StringBuilder buf = new StringBuilder(20); for (int i = 0; i < s.length(); ++i) { char c = s.charAt(i);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java
*/ public void testFindFractionDelimeter3() throws Exception { final String delim = NumberConversionUtil.findDecimalSeparator(null); final char c = new DecimalFormatSymbols(LocaleUtil.getDefault()).getDecimalSeparator(); assertEquals(Character.toString(c), delim); } /** * @throws Exception */ public void testFindIntegerDelimeter() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
* @return 数値のセパレータ */ public static String findDecimalSeparator(final Locale locale) { final DecimalFormatSymbols symbol = getDecimalFormatSymbols(locale); return Character.toString(symbol.getDecimalSeparator()); } private static DecimalFormatSymbols getDecimalFormatSymbols(final Locale locale) { DecimalFormatSymbols symbol; if (locale != null) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.7K bytes - Viewed (0)