How do I get Decimal.Parse to stop taking current culture into account?
how decimal.parse stop taking current culture account?
i tried following error saying “string not recognized valid datetime.
thread.currentthread.currentculture = new cultureinfo("en-us");
decimal.parse("5000.000,51",cultureinfo.invariantculture)
yes, misunderstanding invariant culture providing. thank clarification , possible ways solve issue. solve issue, ui passing me culture settings
.NET Framework > Common Language Runtime Internals and Architecture
Comments
Post a Comment