> > What you need, colleague Rajesh, is the VFP's TRANSFORM() function.

> > Unfortunately, it was not yet introduced in VFP6.

> > However, there are ways to truncate the trailing zeros (this is what you are asking for, as I understand).

> >

> > Let me ask you this: do you always need 3 decimal digits in that resulting string? If so - Martin Krivka has already answered your question; if not - could you be more specific?

> >

> > Regards,

> >

> > Ilya

>

> Hi Ilya

>

> Transform is available in VFP6

> Transform(15.30) Returns 15.3 & not 15.30

>

> No the number of decimal place is not fixed to 3. It could be anything 3,5 7 or otherwise

>

> Regards

SET DECIMALS TO 3
SET FIXED ON
? 15.78956
? 12.45
? 4.5

-Anders