faqts : Computers : Programming : Languages : Asp : ASP/VBScript : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

16 of 16 people (100%) answered Yes
Recently 10 of 10 people (100%) answered Yes

Entry

How can I stop the $ being displayed using formatcurrency?

May 13th, 2000 06:32
unknown unknown, Joe Riley


You can use formatnumber(value,2), it should give you 2 decimal places 
and it won't display the $

The only other way is to take that string you just formated with 
formatcurrency, and just replace the $ with nothing

mynumber = Formatcurrency(number,2)
mynumber = Replace(mynumber,"$","")



© 1999-2004 Synop Pty Ltd