In my code I am creating a BigDecimal by passing it a
string as part of the contructor :-
BigDecimal mynumber = new BigDecimal("12345.67");
That works fine except when the string is not using the local regional settings as me and I try and do something like :-
BigDecimal mynumber = new BigDecimal("12.345,67");
So what would be the clever way of handling this ? Do I change the string variable to the "standard" format before I cast it to BigDecimal or is there a better way ?
Thanks in advance.
Dave