4 ms·
If we're being pedantic then they ARE numbers, even the ones with letters. They're just not in base10.
by craftkiller 2y ago
If we're being pedantic then they ARE numbers, even the ones with letters. They're just not in base10.
- NoMoreNicksLeft 2y agoYeh, until your coworker thinks that he should be storing the phone numbers as an int in the database, and the ones in the Pacific northwest keep getting truncated (but only if they include the leading 1). Numbers might be represented by numerals, but that doesn't mean every string of numerals is a number. If you need to know the difference, ask yourself if you'd ever do math with it, (add to it, subtract from it) if only principle.
- craftkiller 2y agoUgh, for anyone reading this, please store your phone numbers as E164. There is no need to re-invent the wheel.