ID card in China has 18 numbers. THe last number is a check code of 17 numbers front. This code shows the way how check code calculated.
P.S.
A old project when I have few knowledge about code or software work. I get a job of software engineer and know more about software now!