bchavez / Bogus

:card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.
Other
8.79k stars 499 forks source link

even end digit for females, odd for males #396

Closed PTST closed 9 months ago

PTST commented 3 years ago

According to the CPR register i Denmark, all female CPR numbers should end with an even number and odd numbers for male

bchavez commented 9 months ago

I think the CPR number generator was recently improved in PR #496 takes into account the Male:Odd/Female:Evenness and should be in Bogus v35.3.0+.

I think we can close this PR. Thanks again for the initial PR @PTST.