Fabian,
You'll have to use strings, and a specialized set of functions to support arithmetic on them. I believe there is a file in the files section here to help.
>I'm trying to set the value of a variable to a number of 18 digits.
>I'm with VFP6 SP 5.
>
>num = 810000000000000361
>
>and it displays
>810000000000000400
>
>is there any configuration parameter or anything to set length of variables to more than 16 digits?