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

Concatenating string & number 2

Status
Not open for further replies.

jscranton

Programmer
Sep 26, 2002
13
US
Hi,

This is a straightforward question but I can't figure it out. I'd like to create a simple formula that displays some text and a numerical field. E.g., "The number of items is: 5"

I'm using the ToText function to convert the number, but it comes out with a decimal point, i.e., 5.00 instead of 5.

Any ideas how I can make it display without the decimal?

Thanks & regards,
James
 
Try totext(Number, 0), this will cut off all decimal points.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top