The jQuery Format Currency Plugin is a simple to format currency of any number.
Here’s a simple way to use this plug-in your HTML or ASP.NET Pages.
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script src="Scripts/jquery.formatCurrency-1.4.0.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function () {
$("#div1").text("$33").formatCurrency();
$("#div2").text("$100").formatCurrency();
$("#div3").text("$0.200").formatCurrency();
$("#div4").text("$40000000").formatCurrency();
$("#div5").text("$5000000000").formatCurrency();
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<h2>
Formatted Currency</h2>
<div id="div1">
</div>
<div id="div2">
</div>
<div id="div3">
</div>
<div id="div4">
</div>
<div id="div5">
</div>
</div>
</form>
</body>
</html>
Output

Download
Format-Currency.zip (132.72 kb)
See live demo