Below is the problematic code
The parse method of the NumberFormat(currency formatter) takes a
string and returns a Number object.
However according to the book(Khalid Mughal), the space character which is used as a grouping character in formatting numbers in the norwegian locale, acts as a delimiter in a string and thereby results in the termination of any parsing.
If so, why does the second parse call return the original Number object while the first fails, when both accept the same string value as an argument.
Does it have to do anything with how the String is represented internally by the JVM?