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

Popular posts from this blog

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

Azure DocumentDB Owner resource does not exist

SQL Server 2008 - High Memory Usage