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

How to Share webservice object to all user

How to fix error Msg 1801, Level 16, State 3, Line 1