Is that digit cheque? functioning Digit cheque to check do the data enterred the correctness or wrong. Usually number check this digit is added by the end of a[n enterred data.
Number check the digit obtained with a formula. By the data calculation enterred, hence obtained a number check the digit. This number will be added by the end of the data. If in a moment the data is utilized again and happened mistake of typing, calculation of number check the digit will get the different value. So that in early the mistake process have can be detected.
In implementation of of digit cheque used at credit card number (Visa Card, Master Card, Amex, JCB, and others), bank account number, goods code at swalayan shop or even at Nomor Induk Mahasiswa. Try to conceive if digit cheque is not applied at credit card. If happened mistake of typing of credit card number, hence don't immediately soybean cake. This matter can result his invoice will fall to others.
That way the things of at swalayan shop. If the wrong cashier enter the goods code, the goods as described at struk payment will differ. It is possible that this very harm for buyer or even for swlayan shop it self.
One of the way to look for the value check the digit is by using algorithm Luhn. Algorithm Luhn is one of used algorithm to yield the value check the digit. Some credit cards use this algorithm to yield the value check the the digit. In general, number at credit card consist of 16 number. extreme right number is assessing the digit cheque.
Thus the amount of the credit card numbers be in fact is merely 15 number. From to this 15 number can be searched for the value check his digit. Its way is every the number residing in anomalous on course (calculation of position from left to right) multiplied with number 2. If this multiplication result bigger than 9, his value is lessened 9.
Every even number on course multiplied with number 1. Result of from all this multiplications is accumulateed, so that get a value. This value is assumed as X. Later assessed X this added with the number in such a manner, so that the result of from the addition if/when modulus with number of 10 him result had to 0 (zero). Number is checking the digit.
Algorithm Luhn…
For example its is a credit card with number of 4699 2600 1144 1506. If we calculate 15 first number as according to formula of algorithm Luhn, hence him result as follows:
4 X 2 = 8, 6 X 1 = 6, 9 X 2 = 18 - 9 = 9, 9 X 1 = 9, 2 X 2 = 4, 6 X 1 = 6, 0 X 2 = 0, 0 X 1 = 0, 1 X 2 = 2, 1 X 1 = 1, 4 X 2 = 8, 4 X 1 = 4, 1 X 2 = 2, 5 X 1 = 5, and 0 X 2 = 0.
If that multiplication result is summed, him result is 64 ( 8 + 6 + 9 + 9 + 4 + 6 + 0 + 0 + 2 + 1 + 8 + 4 + 2 + 5 + 0). number of 64 this added a number so that when modulus with 10 would yield 0 (zero). Number is number 6. Because 64 + 6 = 70 then 70 modulus of 10 him result 0.
Now see the last number of the credit card number. Isn'T it true number 6? So, by this is we can check in early process what is the entering credit card number of correctness or wrong.
How if enterred card not true effect wrong type. For example is 4699 3600 1144 1506, hence his calculation result is: 4 X 2 = 8, 6 X 1 = 6, 9 X 2 = 18 - 9 = 9, 9 X 1 = 9, 3 X 2 = 6, 6 X 1 = 6, 0 X 2 = 0, 0 X 1 = 0, 1 X 2 = 2, 1 X 1 = 1, 4 X 2 = 8, 4 X 1 = 4, 1 X 2 = 2, 5 X 1 = 5, 0 X 2 = 0, and 6 X 1 = 6. Value check the digit figured in in this calculation. Quantifying result the obtained is 72. If number of 72 this modulus with 10 hence him result unlike 0 (zero). This means that the credit card number not true. Thereby, we can check what is a[n number of that credit card have ever been correct or don't.
By the way, caw is be Alogarithm SDSB yach...? ? ?


