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
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: validate check for social insurance number
 
Similar Threads
Struts Validator FrameWork = JavaScript Error
Credit card validation algorithm
howto format number ?
problem with while loop
[Easy] Palindromes