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.
//Indian rupee Rs.1... was causing problem because my code was writing in hindi characters // at first. And second, third, etc. times as well
//The next problem, when I thought I found the solution:
//Error: I used a non-ASCII character ("₹") - Headshot, thanks Java8
//Finally there is a working solution (I got help from a smarter one, thx for him).
I didn't know it
"currInr.startsWith"
//I hope I could help if someone would have need it
Java Currency Formatter
You are viewing a single comment's thread. Return to all comments →
//Indian rupee Rs.1... was causing problem because my code was writing in hindi characters // at first. And second, third, etc. times as well //The next problem, when I thought I found the solution: //Error: I used a non-ASCII character ("₹") - Headshot, thanks Java8 //Finally there is a working solution (I got help from a smarter one, thx for him). I didn't know it "currInr.startsWith" //I hope I could help if someone would have need it
import java.util.; import java.text.; import java.math.*;
public class Solution {
}