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 (Fwend moved page Talk:Calculate International Securities Identification Number to Talk:Validate International Securities Identification Number: We're validating not calculating) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 18:
: 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)
|