ASP.NET C# and SQL 2008: Problems & Solutions
Friday, 19 August 2011
Format a string as currency
string.Format(System.Globalization.CultureInfo.GetCultureInfo("en-GB").NumberFormat,"{0:c}", 12.012);
string.Format("{0:£0,0.00}", 12.012)
<
globalization
requestEncoding
=
"
utf-8
"
responseEncoding
=
"
utf-8
"
culture
=
"
en-GB
"
uiCulture
=
"
en-GB
"
/>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment