> I want to findout the decimal places of a variable. How can i find that. Eg. if variable is 130.9898 then it should return me 4.
In VFP 6, you can use the new capabilites of the TRANSFORM() function to help:
lcString = transform(lnNumber)
lnDecimals = len(lcString) - at('.', lcString)
Doug