>i don't know if i left my brain at home this morning, but a simple thing is eluding me...
>
>x=21.22
>?x
>and i get 21.22
>?str(x)
>and i get 21
>
>wut happened to the decimals?
>
>tia - john
John,
By default, Str() will truncate your decimal places. You have to specify the number of decimla places in the second parameter. To avoid this, you could use the Transform() function whcih will convert the number as is with all of it decimal places intact.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao