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

RFC_ERROR_SYSTEM_FAILURE with SAP ECC 6 Unicode

C# System.Data.Common DbCommand and getting Datasets from Oracle