<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Format a String as Currency in C#</title>
	<atom:link href="http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/</link>
	<description>Computer Help from your Friendly How-To Geek</description>
	<lastBuildDate>Sun, 08 Nov 2009 07:56:33 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jemala</title>
		<link>http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/comment-page-1/#comment-73779</link>
		<dc:creator>jemala</dc:creator>
		<pubDate>Sat, 27 Jun 2009 21:41:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/#comment-73779</guid>
		<description>use this method
public static string formatmoney(Decimal d)
    {
        
        return String.Format(CultureInfo.CreateSpecificCulture(&quot;en-us&quot;), &quot;{0:C}&quot;, d);
    }</description>
		<content:encoded><![CDATA[<p>use this method<br />
public static string formatmoney(Decimal d)<br />
    {</p>
<p>        return String.Format(CultureInfo.CreateSpecificCulture(&#8221;en-us&#8221;), &#8220;{0:C}&#8221;, d);<br />
    }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hk</title>
		<link>http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/comment-page-1/#comment-71452</link>
		<dc:creator>hk</dc:creator>
		<pubDate>Tue, 05 May 2009 17:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/#comment-71452</guid>
		<description>You can provide IFormatProvider.  In this case you can do something like this

using System.Globalization;

decimal = moneyValue = 100.00m;
string output = String.Format(CultureInfo.CurrentUICulture, &quot;{0:C}&quot;, moneyValue);

With the above approach you don&#039;t need to worry about culture specific format.</description>
		<content:encoded><![CDATA[<p>You can provide IFormatProvider.  In this case you can do something like this</p>
<p>using System.Globalization;</p>
<p>decimal = moneyValue = 100.00m;<br />
string output = String.Format(CultureInfo.CurrentUICulture, &#8220;{0:C}&#8221;, moneyValue);</p>
<p>With the above approach you don&#8217;t need to worry about culture specific format.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeppe</title>
		<link>http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/comment-page-1/#comment-70093</link>
		<dc:creator>Jeppe</dc:creator>
		<pubDate>Fri, 10 Apr 2009 04:15:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/#comment-70093</guid>
		<description>Is there a way to force the currency to be a specific one? Just because some has different regional settings it does not change the fact that a price is listed in (for example)pound.</description>
		<content:encoded><![CDATA[<p>Is there a way to force the currency to be a specific one? Just because some has different regional settings it does not change the fact that a price is listed in (for example)pound.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mehmet</title>
		<link>http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/comment-page-1/#comment-68126</link>
		<dc:creator>Mehmet</dc:creator>
		<pubDate>Wed, 04 Mar 2009 15:49:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/#comment-68126</guid>
		<description>Thank you.</description>
		<content:encoded><![CDATA[<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Marinaccio</title>
		<link>http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/comment-page-1/#comment-63530</link>
		<dc:creator>Joseph Marinaccio</dc:creator>
		<pubDate>Tue, 23 Dec 2008 04:08:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/#comment-63530</guid>
		<description>Thanks for a great article, direct and to the point!

-Joseph Marinaccio
Marinaccio Family Design</description>
		<content:encoded><![CDATA[<p>Thanks for a great article, direct and to the point!</p>
<p>-Joseph Marinaccio<br />
Marinaccio Family Design</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sameer</title>
		<link>http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/comment-page-1/#comment-62172</link>
		<dc:creator>sameer</dc:creator>
		<pubDate>Sun, 30 Nov 2008 11:42:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/#comment-62172</guid>
		<description>by this way you get the formatted string just like currency, without Currency sign 

thanks i searching about this :)</description>
		<content:encoded><![CDATA[<p>by this way you get the formatted string just like currency, without Currency sign </p>
<p>thanks i searching about this <img src='http://www.howtogeek.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barbaros Alp</title>
		<link>http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/comment-page-1/#comment-59769</link>
		<dc:creator>Barbaros Alp</dc:creator>
		<pubDate>Sat, 25 Oct 2008 11:15:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/#comment-59769</guid>
		<description>decimal moneyvalue = 1921.39m;

You can use 
  moneyvalue.ToString(&quot;N&quot;) 
instead of
  moneyvalue.ToString(&quot;C&quot;)

by this way you get the formatted string just like currency, without Currency sign</description>
		<content:encoded><![CDATA[<p>decimal moneyvalue = 1921.39m;</p>
<p>You can use<br />
  moneyvalue.ToString(&#8221;N&#8221;)<br />
instead of<br />
  moneyvalue.ToString(&#8221;C&#8221;)</p>
<p>by this way you get the formatted string just like currency, without Currency sign</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soniya</title>
		<link>http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/comment-page-1/#comment-56218</link>
		<dc:creator>Soniya</dc:creator>
		<pubDate>Mon, 18 Aug 2008 05:44:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/#comment-56218</guid>
		<description>Ultimate one ..really helpful</description>
		<content:encoded><![CDATA[<p>Ultimate one ..really helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abdou</title>
		<link>http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/comment-page-1/#comment-54016</link>
		<dc:creator>abdou</dc:creator>
		<pubDate>Fri, 18 Jul 2008 08:20:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/#comment-54016</guid>
		<description>I can give help I think look at control panel , regional option and look you can change your currency value there</description>
		<content:encoded><![CDATA[<p>I can give help I think look at control panel , regional option and look you can change your currency value there</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kingsley Magnus-Eweka</title>
		<link>http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/comment-page-1/#comment-51191</link>
		<dc:creator>Kingsley Magnus-Eweka</dc:creator>
		<pubDate>Sun, 01 Jun 2008 21:21:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.howtogeek.com/howto/programming/format-a-string-as-currency-in-c/#comment-51191</guid>
		<description></description>
		<content:encoded><![CDATA[<p>how do i format the currency value i.e from $ to £ that isd from dollars to pounds using the string.format ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
