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!

Space between currency symbol and price - help!

Status
Not open for further replies.

cfmaster

Technical User
Aug 9, 2002
8
GB
Hi guys,

I am trying to figure out how to eliminate a space between a currency symbol and the price being pulled from the database...here is my code:

Price:&pound#NumberFormat(get.price,"99,99999999")

When it displays the price it looks like this: £ 100,000

And...

I want it to look like this: £100,000

Any ideas?

Thanks
 
Try this:
Code:
#NumberFormat(Replace(get.price,' ',''),'99,99999999')#



Hope This Helps!

ECAR
ECAR Technologies

"My work is a game, a very serious game." - M.C. Escher
 
that's interesting, but without further information, it's pretty hard to explain why

would you kindly show me what my proposed solution produces?

r937.com | rudy.ca
 
Hi guys...

thanks for your help. I figure it out, to close the gap between the symbol and the number you do the following...

#Replace(NumberFormat(get.price,'L99,99999999'),' ','')#

The 'L' before the number format is the justification.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top