SEDOLs: Difference between revisions
Content added Content deleted
(→{{header|VBA}}: Moved to own heading from Excel (See Talk page - the code is not Excel-specific)) |
Drkameleon (talk | contribs) |
||
Line 398: | Line 398: | ||
val: new 0 |
val: new 0 |
||
loop .with:'i sedol 'ch -> |
loop .with:'i sedol 'ch -> |
||
'val + |
'val + weight\[i] * c2v ch |
||
return to :char ord0 + (10 - val % 10) % 10 |
return to :char ord0 + (10 - val % 10) % 10 |
||
] |
] |