Euro note code verifier required!

  1. #1
    Falcon79 is offline Valued Member

    Euro note code verifier required!

    Hi
    I use Euro as currency. I recently covered checksums in college. The various checksums covered Euro Note and Credit Card number verification methods. There are many sites to help someone verify that a credit card is authentic, however there seems to be no on line verification tool for Euro notes. It would be even better to have a JavaScript program that could do this, then you could check off line.

    This is how to verify a Euro note:
    Convert the first letter to a number.
    Then add up all the numbers and the letter which is now converted to a number.
    What ever the total is, the numbers must result in 8 in order for that Euro note to be authentic. (For example this note has a total of 71, then 7 + 1 = 8 therefore this is authentic.)

    Such a verification tool would be very useful for shop owners.

    If anyone is smart enough to make a JavaScript program to verify the validity of a Euro bank note, please post a link here.
    Or please post the code.

    I'd greatly appreciate it.

    Also one last thing, if someone could come up with JavaScript code to calculate this: Personal Public Service Number - Wikipedia, the free encyclopedia it would be wonderful.


  2. #2
    abes is offline Valued Member
    A) Fishy...
    B) What method do you use to convert the letter to a number? Its position in the alphabet? Its ASCII number? I write that script in 10 minutes, but I need to know how you convert it first!

    Cheers!

+ Reply to Thread