Currency on Asp Net MVC website

Asked

Viewed 75 times

0

I created my site in standard Asp net MVC and I realized that when I run the site on my machine with Windows-PTBR appears the currency of the site (which is an e-commerce) as Real R$. While hosting my site in a gringa hosting, I realized that the currency appears in dollar $. I’m trying a few days to figure out how to convert to R$ but I’m not getting. This is the field with the information. I use "c" to generate the currency.

<td class="text-center">@item.Produto.Preco.ToString("c")</td>
  • And can hand change the setting there? Good lodgings allow you to have your proper environment.

  • is a free hosting I use to test my Asp Net site, gearhost.com

  • You can define in your application which Culture you will use as well

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.