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.
NumberFormat.getCurrencyInstance(new Locale("en","IN")).format(payment); --> this now returns the rubis char , it's been updated, the expected output of the exercice is Rs. , not the rubis icon, thats why i cannot pass the test cases
expected output should be updated.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Java Currency Formatter
You are viewing a single comment's thread. Return to all comments →
in java 15
NumberFormat.getCurrencyInstance(new Locale("en","IN")).format(payment); --> this now returns the rubis char , it's been updated, the expected output of the exercice is Rs. , not the rubis icon, thats why i cannot pass the test cases
expected output should be updated.