Talk:SEDOLs: Difference between revisions

m
→‎changed the Wiki page reference to here: added a comment about the number doubling.
m (→‎changed the Wiki page reference to here: added a comment about the number doubling.)
 
(8 intermediate revisions by 6 users not shown)
Line 54:
Does anyone else think the last modulo isn't needed? I asked on the WP talk page for SEDOL, but no one answered. The formula is given there as: (10 − (weighted sum modulo 10)) modulo 10. (10 − (weighted sum modulo 10)) should already be less than 10 and positive so another mod 10 wouldn't do anything right? --[[User:Mwn3d|Mwn3d]] 13:28, 11 November 2009 (UTC)
:I've tried it both ways and got the same output for several inputs. Does anyone else have an opinion? --[[User:Mwn3d|Mwn3d]] 20:29, 3 February 2010 (UTC)
:See my '0' checksum comment above. x mod 10 is in the range 0..9, so 10-(x mod 10) is in the range 1..10. The extra mod brings it back into the 0..9 range. We should have add a test case which exercises this. --[[User:IanOsgood|IanOsgood]] 21:09, 3 February 2010 (UTC)
::I knew there had to be a reason which is why I didn't just change it right away. I agree we should have a test case for that. Do you know of one? You could just have the computer try random sequences until it gets one. --[[User:Mwn3d|Mwn3d]] 21:27, 3 February 2010 (UTC)
::B00030 gives a 0 check digit and I think it might be in the real range for SEDOLs. I think it gets that case. The weighted sum is 10. (10 - (10 mod 10)) = 10. (10 - (10 mod 10)) mod 10 = 0. We should add it to the examples. --[[User:Mwn3d|Mwn3d]] 21:37, 3 February 2010 (UTC)
 
== changed the Wiki page reference to here ==
I changed the Wiki page on SODOLs which mentioned (in the link) that there are 34 Rosetta Code computer programming languages to compute SODOL.
<br>I changed it to 36 (the current count at this time). [[User:Gerard Schildberger|Gerard Schildberger]]
:Ah, that was you :-)
:I changed it to read "...more than 35 ..." so we don't have to continuously keep the wp page in sync. --[[User:Paddy3118|Paddy3118]] 10:18, 10 December 2010 (UTC)
 
:: That number has since doubled. &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 23:52, 5 March 2017 (UTC)
 
== Excel VBA ==
 
Shouldn't the language be just "VBA"? Admittedly I know almost nothing about VBA and Excel but nothing in the code looks Excel-specific to me. --[[User:AndiPersti|Andreas Perstinger]] ([[User talk:AndiPersti|talk]]) 22:27, 26 April 2014 (UTC)