Paul
How about:
ALLTRIM( STR( INT( 1948.00)))
Then you don't need to specify how many places before and after the decimal point.
Terry
>Borilav,
>
>I used RTRIM(STR(1948.00,16,0)) gives 1948 in string.
>
>Thank you for your suggestions
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.