> >

> > 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

Actually, it's rather SET("Decimals") that might prove being useful:

lnDecimals = SET("Decimals")
lcFormat = ["@RT ##."] + REPLICATE("#", m.lnDecimals)
lcNumber = TRANSFORM(lnNumber, &lcFormat)

(not tested)

HTH.

Regards,

Ilya