Reputation: 814
I need a way in c# or javascript to convert any input user has entered into invariant culture. So if user enters 2,5 or 2.5 I wan't to convert it to decimal as 2.5. Is there any way of doing this except of string.replace(",",".") ? :D Thanks
Upvotes: 1
Views: 596