Home · Tools · Implementations · Manage · Register · Tutorials · About |
| | | |
Modulus Checker
Endpoints
Contributed Clients What is this? Add / Edit / Delete Client No clients are currently listed Detailed Description The service contains one interface, IModulusCheck, with two methods.
- CheckModulus accepts a string of digits, for instance 6804119276,
and returns true if the last digit is correct according to the 10-
modulus algorithm commonly used for bank accounts and the likes
- GetLastDigit calculates the correct last digit for a string of
digits (in this case, the string passed in should NOT contain the
last digit, as this is the digit to calculate), for instance sending
680411927 will return 6Usage Notes IModulusCheck [WSDL] (urn:TBWSIntf-IModulusCheck)
boolean CheckModulus(string DigitsToCheck)
unsignedByte GetLastDigit(string DigitsToCheck) |