there is a default Dollar Sign before t开发者_StackOverflowhe every Price tag. i want to change this to Thai Bhat of thailand. How can i do it?
Assuming your prices are contained within a span or a div elements using a class such as:
<span class="pricetag">$100,00.00</span>
A simple fix is to use jQuery to replace $ sign with thai baht symbol.
$('.pricetag').text().replace('$', '฿');
I don't know how you are displaying the value you can achieve it by
NumberFormatInfo numinfo = CultureInfo.CreateSpecificCulture("th-TH").NumberFormat;
textbox.Text = yourvalue.ToString("c",numinfo);
All you need to do is refer the Thai culture when considering the value of Price.
精彩评论