3 ms·
Casting a credit card number to an integer won't run into this problem, because the major credit card networks don't use a leading zero in their card numbers (t
by toast0 8y ago
Casting a credit card number to an integer won't run into this problem, because the major credit card networks don't use a leading zero in their card numbers (the first digit generally identities the network). Also, credit card numbers may be too large to fit into a default integer, so you're likely to notice if it doesn't work, but you're less likely to have tested with CVCs with leading zeros.