如何验证国际证券识别码(ISIN)的号码 [英] How to validate a International Securities Identification Number (ISIN) number

查看:101
本文介绍了如何验证国际证券识别码(ISIN)的号码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我没记错的话,ISIN号的最后一位是验证码. 用什么数学函数来确定其前11位数字的值?

If I am not wrong, ISIN numbers last position is a verification digit. What is the mathematical function that determines its value in function of the first 11 digits?

推荐答案

http://en.wikipedia.org/wiki/International_Securities_Identification_Number

计算ISIN校验位的过程类似于CUSIP中使用的模数10两次加倍两次"技术.要计算校验位,首先将字母在字母表中的序数位置加到9,从而将任意字母转换为数字,这样A = 10和M =22.从最右边的数字开始,每隔一个数字乘以2. (对于CUSIP校验数字,这两个步骤是相反的.)将得到的数字字符串(大于9的数字变成两个独立的数字)加起来.从以零结尾且大于或等于0的最小数字中减去该总和:这得到校验位,也称为和模10的十进制补码.即,得到的总和,包括校验-数字,是10的倍数.

The procedure for calculating ISIN check digits is similar to the "Modulus 10 Double Add Double" technique used in CUSIPs. To calculate the check digit, first convert any letters to numbers by adding their ordinal position in the alphabet to 9, such that A = 10 and M = 22. Starting with the right most digit, every other digit is multiplied by two. (For CUSIP check digits, these two steps are reversed.) The resulting string of digits (numbers greater than 9 becoming two separate digits) are added up. Subtract this sum from the smallest number ending with zero that is greater than or equal to it: this gives the check digit, which is also known as the ten's complement of the sum modulo 10. That is, the resulting sum, including the check-digit, is a multiple of 10.

他们也有一个很好的例子.

这篇关于如何验证国际证券识别码(ISIN)的号码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆