I\'m trying to print INR format currency like this:
NumberFormat fmt = NumberFormat.getCurrencyInstance(); fmt.setCurrency(Currency.getInstance(\"INR\")); fmt.fo
See if this works:
DecimalFormat fmt = (DecimalFormat) NumberFormat.getInstance(); fmt.setGroupingUsed(true); fmt.setPositivePrefix("Rs. "); fmt.setNegativePrefix("Rs. -"); fmt.setMinimumFractionDigits(2); fmt.setMaximumFractionDigits(2); fmt.format(30382.50);
Edit: Fixed the first line.