Talk:Validate International Securities Identification Number: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 19: | Line 19: | ||
: 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) |
: 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 == |
== Adding an example == |
||
I suggest adding an ISIN ending in 0, as it can may show a bug in the implementation. For instance, I had the (bad) idea to replace |
I suggest adding an ISIN ending in 0, as it can 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 "implicit" in the 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) |
[[User:Arbautjc|Arbautjc]] ([[User talk:Arbautjc|talk]]) 10:55, 7 August 2016 (UTC) |