>Hi All,
>i need convert this excel formula to vfp syntax
>
>A1 range value 456.548.313
>
>excel formula in B1 range
>
>=((A1-(RIGHT(A1;4)))/1000000)+((IF(((RIGHT(A1;4))-5000)>=0;1;0))/100)
>
>B1 range result : 456,55
>
>how would be the vfp syntax for the same result in vfp ?
>
>TIA
lnTL = 456548313
lnYTL = ROUND(lnTL/1000000,2)
? lnYTL
Cetin