You're quite correct Nadya, since Val() will only read 16 characters. You also have to be careful about the setting of SET DECIMALS. Numbers with a great many decimal places, as well as very large numbers, usually require special handling in VFP.
Barbara
>Barbara,
>
>It would not work for some cases like:
>
>set exact on
>?"My String"
>myString='10000.5903459059503'
>?transform(val(Mystring))
>?MyString = transform(val(Mystring))