(49G+) IBM Check Digit Programme - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (49G+) IBM Check Digit Programme (/thread-3990.html) |
(49G+) IBM Check Digit Programme - Gerald H - 05-27-2015 07:00 AM For positive integer input the programme returns the original input and the check digit. eg For input 18081953 the programme returns 18081953 4 For more info on IBM check digit see http://en.wikipedia.org/wiki/Luhn_algorithm Edit: Programme faulty, see next posting. Code:
RE: HP 49G+: IBM Check Digit Programme - Gerald H - 05-29-2015 10:46 AM Sorry, error in above programme, corrected here: Code: :: |