10 ms·
It's a sequence of single-digit integers, not a number
by petesergeant 5y ago
It's a sequence of single-digit integers, not a number
- falcor84 5y agoThat is to say it's a numeral
- andrewingram 5y agoYeah. I'd say it's numeric, but doesn't represent a quantity.
- mmmmmbop 5y agoThat's true for the mathematical definition of number, but not for the commonly used definition of number as "a numeral or combination of numerals or other symbols used to identify or designate" (4b at [0]). A common example would be a document number, which may often be alphanumeric. [0] https://www.merriam-webster.com/dictionary/number https://www.merriam-webster.com/dictionary/number
- nightpool 5y agoThat's great. We're clearly talking about the definition of number used by HTML and all major programming languages. Whether a dictionary counts it as a "number" or not is entirely besides the original point—don't use integer or numeric types for storing or processing this data.