Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for removeDelimeter (0.11 sec)

  1. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testRemoveDelimeter() throws Exception {
            assertEquals("1000000.234", NumberConversionUtil.removeDelimeter("1,000,000.234", Locale.JAPAN));
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

        /**
         * デリミタを削除します。
         *
         * @param value
         *            文字列の値
         * @param locale
         *            ロケール
         * @return デリミタを削除した結果の文字列
         */
        public static String removeDelimeter(String value, final Locale locale) {
            final String groupingSeparator = findGroupingSeparator(locale);
            if (groupingSeparator != null) {
                value = StringUtil.replace(value, groupingSeparator, "");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top