Announcements
No record found.
for (int i = 1; i <= strLen(inputString); i++) { subStr(inputString, i, 1); }
str input = '2143658790'; str numChars = strKeep(input, '0123456789'); if (strLen(input) != strLen(numChars)) { throw error("Input contains invalid characters."); } int oddSum; int evenSum; for (int i = 1; i <= strLen(numChars); i++) { int digit = str2Int(subStr(numChars, i, 1)); if (i mod 2) { evenSum += digit; } else { oddSum += digit; } } int checksum = (evenSum + oddSum * 3) mod 10;
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 545 Super User 2026 Season 1
Giorgio Bonacorsi 408
Adis 267 Super User 2026 Season 1