c# - I want to change the currency type of my model using globalization -


this model want able display currency rands (south african currency)

[datatype(datatype.currency)]      public decimal price { get; set; } 

thanks guys found solution already..

 <system.web>       <globalization culture="en-za" uiculture="en-za" /> <system.web> 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - How can I echo out this array? -

javascript - IE11 incompatibility with jQuery's 'readonly'? -