aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes validate check for social insurance number Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "validate check for social insurance number" Watch "validate check for social insurance number" New topic
Author

validate check for social insurance number

su than
Greenhorn

Joined: Oct 23, 2012
Posts: 1
validate check for social insurance number.

social insurance number: only 9 digits (1-9), only number, should be input in three boxes, 3 digit in each boxes( if possible use auto tab)

add the odd digits : means 1th,3dr,5th,7th, 9th digits together = odd digits sum value

Extract the even digits: mean 2nd, 4th, 6th, 8th digits-- and multiply by *2, add all the even digits together only if it is less than 10

if the 2nd, 4th, 6th, 8th digits is greater than 10 then , add like this ( for eg the 4th digit is 18 then add= 1+8)

Then,

odd digits sum value + the even digit sum value = multiple of ten (%10)



Code is Not Working!!!

Can you sent me a Solution for this!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: validate check for social insurance number