Talk:Validate International Securities Identification Number: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Dup?: new section)
 
Line 4: Line 4:


If not, what is the task? --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 07:22, 26 February 2015 (UTC)
If not, what is the task? --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 07:22, 26 February 2015 (UTC)

Thanks Rdm. I should have spotted the connection with Luhn. The difference is that ISINs can contain alphabetic characters, which must be translated to digits before a checksum is calculated.

This task and the algorithm is even more closely related to the existing one for [[SEDOLs]]. The only difference is ISIN is worldwide, and SEDOLs and other identifiers are prepended with zeroes to a length of nine inside an ISIN.

So, possibilities I can see from here:

1. Keep this page, cross reference to Luhn and SEDOL.

2. Remove this page, add "ISIN" and "International Securities Identification Number" as aliases for the SEDOL page.

3. Encourage SEDOL coders to implement slightly more generalised code that would work for ISINs as well as SEDOL.

What do you think?

--[[User:TheWombat|TheWombat]] ([[User talk:TheWombat|talk]]) 00:05, 27 February 2015 (UTC)

Revision as of 00:05, 27 February 2015

Dup?

Is this a duplicate of Luhn_test_of_credit_card_numbers?

If not, what is the task? --Rdm (talk) 07:22, 26 February 2015 (UTC)

Thanks Rdm. I should have spotted the connection with Luhn. The difference is that ISINs can contain alphabetic characters, which must be translated to digits before a checksum is calculated.

This task and the algorithm is even more closely related to the existing one for SEDOLs. The only difference is ISIN is worldwide, and SEDOLs and other identifiers are prepended with zeroes to a length of nine inside an ISIN.

So, possibilities I can see from here:

1. Keep this page, cross reference to Luhn and SEDOL.

2. Remove this page, add "ISIN" and "International Securities Identification Number" as aliases for the SEDOL page.

3. Encourage SEDOL coders to implement slightly more generalised code that would work for ISINs as well as SEDOL.

What do you think?

--TheWombat (talk) 00:05, 27 February 2015 (UTC)