Re: Verification number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Emil Edeholt wrote:

> George Pitcher wrote:
>> Emil,
>>
>> have you looked at the 10-digit ISBN verification, which has just
>> been replaced by the 13-digit EAN system?
>>
>> It may be of use, but it needs the field to be varchar as the
>> checkdigit may be a 'X'.

AFAIK, the 10-digit ISBN numbers use the "modulus 11" algorithm, which
is also used in several other places (Danish social security numbers
for instance), and I'm sure you can adjust the weighting such that the
checkdigit is always numeric. 


/Per Jessen, Zürich

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux