>Hi.
>I need to be able to do Mod(MyNum,97)
>But Mynum, whcih results from a string of digits, could be more than 30 characters
>(This is part of a Banking Application to generate an IBAN check Digit )
>
>Can Foxpro do this correctly
>I've done a few tests with a long number and it does not seem to work
>( I know one option is to take up to 7 characters at a time and do it this way but wonder if this can be avoided)
>
>Tia
>Gerard
Cannot be avoided. You can go up to 13 digits at a time since the remainder only has two digits
Do not forget to padl the number with zeroes so that the length is a multiple of 13 digits
Gregory