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

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'