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

formula help -- embed number within text 1

Status
Not open for further replies.

dswitzer

Technical User
Aug 2, 2002
298
US
I have a formula like :

Code:
"We see you have grown by " + 
cstr({g_letter_mgmt_change_data_1.changeCt}) +
" locations."

Which results in:

We see you have grown by 1036.00 locations.

How can I format that number within the formula to return 1,036 instead of 1036.00?

Thanks.
Dave

 
Change the formula to:

"We see you have grown by " +
cstr({g_letter_mgmt_change_data_1.changeCt},0) +
" locations."

-LB
 
Use this to separate thousands:

cstr({g_letter_mgmt_change_data_1.changeCt},0,",")
 
Cool. I didn't know cstr had any options at all!

Thanks.

Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top