Code example for Locale

0
        assertDecFmtWithMultiplierAndFraction("0.00333333", 3, 4, "0.01"); 
 
        assertDecFmtWithMultiplierAndFractionByLocale("3330000000000000000000000000000000", 3, 4, 
                    Locale.US, "9,990,000,000,000,000,000,000,000,000,000,000");
 
        Locale inLocale = new Locale("en", "IN");
        if (Support_Locale.isLocaleAvailable(inLocale)) {
            assertDecFmtWithMultiplierAndFractionByLocale("3330000000000000000000000000000000", 3, 4, 
                    inLocale, "9,99,00,00,00,00,00,00,00,00,00,00,00,00,00,00,000");
        } 
    } 
 
    public void testBigDecimalTestBigIntWithMultiplier() { 
        // Big integer tests. 
        assertDecFmtWithMultiplierAndFractionByLocale("123456789012345", 10, 0, 
                Locale.US, "1,234,567,890,123,450");
        assertDecFmtWithMultiplierAndFractionByLocale("12345678901234567890", 10, 0, 
                Locale.US, "123,456,789,012,345,678,900");
        assertDecFmtWithMultiplierAndFractionByLocale("98765432109876543210987654321", 10, 0, 
                Locale.US, "987,654,321,098,765,432,109,876,543,210");