We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Java Currency Formatter
Java Currency Formatter
Sort by
recency
|
768 Discussions
|
Please Login in order to post a comment
import java.io.; import java.util.; import java.text.*;
public class CurrencyFormatter {
I update all unicode until I get zero result from diff command, yet the grader still say it is wrong answer. definitely broken on java15
Be all aware that
new Locale("en", "in")
will return Rs. only on Java 8. Further versions return ₹.A workaround for Java 15 might be something like:
import java.io.; import java.util.; import java.text.NumberFormat; import java.util.Locale;
public class Solution {
}
I tried everything, it won't work