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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Thousand Seperator

Status
Not open for further replies.

Ryath

Technical User
Feb 24, 2002
84
GB
Hi all,

Just a quick one... to produce a value to certain decimal places you would put:- Round((Blah/Blah2*Blah),2) which would give the answer to 2 decimal places... is there a function or somesort to add a thousand seperator?? so not just Round but with the "," eg 1,000,000 instead of it currently being 1000000

Thx all Will [hammer]
 
Hi Will!

Try doing this:

Format(blahfield,"Standard")

I believe Standard format gives the thousands separator... Either that or "Fixed"... One or the other...

Roy aka BanditLV
Las Vegas, NV
RLMBandit@aol.com
 
Cool it works!!! Thank You!! Will [hammer]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top