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!

Removing decimal points from CStr() functions 1

Status
Not open for further replies.

JamieWyant

Programmer
Jan 16, 2003
1
US
Trying to remove the decimal points from the following function, but not sure what or where to place the conversion:

{Product_Type.Product Type Name}+" [" +CStr (Sum ({@Value}, {Product_Type.Product Type Name}))+ "]"

Please help!
 
Cstr({YourNumebrField},0) should do it.

I always use the ToText() function and this is how it works. I believe these functions are identical in the arguments they use. If that poses a problem, try the ToText() function Software Sales, Training and Support for Macola, Crystal Reports and Goldmine
dgilsdorf@mchsi.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top