CR 9 --SQL Server -- Win XP
I have a numeric field which I was trying to concatenate with a string field for formating purposes.
an intial value would have been 200000
When I do a Cstr({value}) I now get the headache of 200,000.00. I can do a replace to get rid of the commas, but how do I get rid of the decimal and added 0s?
I thought it was a simple formula, but with the added junk, not sure if I am doing it right.
I have a numeric field which I was trying to concatenate with a string field for formating purposes.
an intial value would have been 200000
Code:
{tfacr200.tdoc} + " " + Replace (cstr({@docn}),"," ,"" )
When I do a Cstr({value}) I now get the headache of 200,000.00. I can do a replace to get rid of the commas, but how do I get rid of the decimal and added 0s?
I thought it was a simple formula, but with the added junk, not sure if I am doing it right.