> > m.number=15.390

> >

> > ? str( round(m.number,3), 12, 3)

> >

> >

> >

> > hth

> > Martin

>

> Thanks for your reply

>

> But My Question is I do not know the no of decimal places used in expression. how do find the no of decimals used in the numeric expression

>

> regards

Not sure if understood what you need. Count of decimals ? Something like:

m.number=15.3932323
m.dec=0
do while .t.
if int(m.number)=m.number
exit
endif
m.dec=m.dec+1
m.number=m.number*10
enddo
? "count of decimals:",m.dec

Martin