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 - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -