The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,708 other followers

Other number verifications (via: Things I tripped over when implementing the “Elf proef”: digit check for Dutch bank account numbers and social security numbers (bankrekeningnummer, BSN/Sofinummer) « The Wiert Corner – irregular stream of Wiert stuff)

Posted by jpluimers on 2012/09/27

Bar Code Types | Technical | BarCodes & Identification | Products & Solutions | GS1 – The global language of business.

Check Digit Calculator | Support | BarCodes & Identification | Products & Solutions | GS1 – The global language of business.

EAN (GLN,GTIN, EAN numbers administered by GS1)

via Check digit – Wikipedia, the free encyclopedia.

Universal Product Code – Wikipedia, the free encyclopedia.

International Article Number (EAN) – Wikipedia, the free encyclopedia.

Global Trade Item Number – Wikipedia, the free encyclopedia.

/**

* This is a data provider for the above Unit-test.

*/

public function provider()

{

return array(

array(”, null), // Empty

array(‘0’, null), // Empty

array(‘ ‘, null), // Empty

array(‘NOT-NUMERIC’, null),

array(‘77676656’, null), // Invalid EAN8 – we do not validated EAN8 at this time.

array(‘123456789999’, ‘0123456789999’), // Upc valid, translated to EAN

array(‘5031366016409’, ‘5031366016409’),

array(‘99802618537’, ‘0099802618537’),

array(‘99802469443’, ‘0099802469443’),

array(‘58231298109’, ‘0058231298109’), // Too short but valid ean, needs zeros padding.

);

}

}

via Ean13.php – yinyang – YinYang Zend Framework Supplement Library – Google Project Hosting.

–jeroen

via: Things I tripped over when implementing the “Elf proef”: digit check for Dutch bank account numbers and social security numbers (bankrekeningnummer, BSN/Sofinummer) « The Wiert Corner – irregular stream of Wiert stuff.

One Response to “Other number verifications (via: Things I tripped over when implementing the “Elf proef”: digit check for Dutch bank account numbers and social security numbers (bankrekeningnummer, BSN/Sofinummer) « The Wiert Corner – irregular stream of Wiert stuff)”

  1. […] a follow-up on my earlier number validation posts (Elf proef in C# and Other number verifications), I found a nice T-SQL version of the Elfproef for Dutch bank account […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: