Anonymous user
Talk:Validate International Securities Identification Number: Difference between revisions
Talk:Validate International Securities Identification Number (view source)
Revision as of 13:32, 7 August 2016
, 7 years ago→Adding an example
m (→Dup?) |
|||
(6 intermediate revisions by 4 users not shown) | |||
Line 12:
--[[User:TheWombat|TheWombat]] ([[User talk:TheWombat|talk]]) 00:05, 27 February 2015 (UTC)
: Any of these sound like they would work. Another possibility might be to mark pages with something like Category: Checksums (very broad) or Category: Digit Checksums, or something like that.
: That said, note that in my previous reading I did not pick up that letters were being included in the checksum, using a "base 36" sort of mechanism.
: Anyways, I do not have any real strong opinions on this topic. I guess just proceed how you like and see if anyone else weighs in? --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 09:29, 27 February 2015 (UTC)
== Adding an example ==
I suggest adding an ISIN ending in 0, as it may show a bug in the implementation. For instance, I had the (bad) idea to replace x==(-y)%10 with 10-x==y%10 in the Python implementation (where x and y are expressions in the Python code, and x is the last digit). This transformation is of course wrong, but it fails only when x=0. I have found several valid ISIN ending in 0, here is one: FR0000988040 (from HSBC I think).
[[User:Arbautjc|Arbautjc]] ([[User talk:Arbautjc|talk]]) 10:55, 7 August 2016 (UTC)
: I just did a complete rewrite of the task description anyway, and used this opportunity to add your suggested test-case. --[[User:Smls|Smls]] ([[User talk:Smls|talk]]) 12:30, 7 August 2016 (UTC)
::Thank you! I'll edit the Python implementation. [[User:Arbautjc|Arbautjc]] ([[User talk:Arbautjc|talk]]) 13:32, 7 August 2016 (UTC)
|