Click the button to enter the HKID to see whether it's valid or not. No need to type in blankets e.g: If the ID is P341346(6,) then just type in P3413466 about 0.1 second calculation time. -------------------------------------------------------------- For developers use: press E to enter data to dedicated list press S or H to show/hide the vars/lists #hkid
HKID, as known as Hong Kong Identity Digit, is a set of numbers shown on the Identity card. The letter of it is equal to 1 to 26, like A = 1, C = 3, G = 7... And then they multiply by from 9 to 1 in ascending order, like in P3413466, P times 9 while 4 times 3. If the sum of it can divided by 11, it's a real ID card number. Data validation methods included in this project: Length check (length must be 8 or 9) Format check (Letter 1 Or 2 must be letter(s)) Check digit ############################################ Version history: V1: HKID number validation by check digit, doesn't support length as 9 yet. (17/9, 12p.m.) V1.1: Supports 9 characters of the hkid card. (3:44p.m) V1.2: UI minor adjustments V2.0: Removed a scumming bug, it runs extremely fast now. ======================================== Variables explained! 8. time used