Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format Currency in??? 1

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
US
I found that this will format a number<br>&lt;%Response.Write FormatNumber(RS1(&quot;SELLING_PRICE&quot;),2,0,0,0) %&gt;<br><br>to be<br>1234.00<br>how can I add a &quot;$&quot; in front of it like:<br>$1234.00<br> <p>DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br> Ask me how Bar-codes can help you be more productive.
 
You're gonna kick yourself when you see how easy this is:<br>&lt;%<br>Dim MyCurrency<br>MyCurrency = FormatCurrency(1000)<br>Response.Write MyCurrency<br>%&gt;<br><br>Will write $1000.00 to the browser.
 
Well as most things go, if you don't know you don't know.<br>I am writing VBscript on the fly.<br>I don't have a way to look up any command words in Help.<br>Is there a list on-line of all the Command words?<br><br>Thanks <p>DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br> Ask me how Bar-codes can help you be more productive.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top