What is LHUN Algorithm?
How to check the valid credited card using LHUN.
Ex: 1 2 5 4 - 1 2 3 4 - 1 2 3 4 - 1 2 5 4
4 5 2 1 - 4 3 2 1 - 4 3 2 1 - 4 5 2 1
6 + 4 + 4 + 6
= 20
If(20/10==0)
It is a valid card Process?
Is that one is right justify how?
Loading
VulpesPosted Sep 4, 2013, 9:13 AM
http://en.wikipedia.org/wiki/Luhn_algorithm
There's a link to a Luhn validation class, written in C#, at the foot of this article.