|
But these ‘alphabetic numeral’ strings that (obviously) denoted nuTo help you understand my point better, think of a very simple and common application. If you want to center a number within some fixed length (say a terminal screen of fixed width), you need the length of the number (in whatever representation that number is to be shown) so you can subtract it from the total available length, and add half that number of spaces to the front of the string to center it. Simple?
But isn’t the same true for language words? Any word’s length is based on its representation in a given language, or even in the same language with multiple valid spellings. In English, for example, some say potatoe, some say potato (regardless of which form you consider correct, that’s irrelevant.) Same length?
In simple terms, the length of a number is how that number would be represented if you were to print it out.