LogFAQs > #933696589

LurkerFAQs, Active DB, DB1, DB2, DB3, DB4, DB5, Database 6 ( 01.01.2020-07.18.2020 ), DB7, DB8, DB9, DB10, DB11, DB12, Clear
Topic List
Page List: 1
TopicLevel 99 shouldn't be a thing
adjl
01/30/20 2:34:59 PM
#9:


SinisterSlay posted...
The memory use for 100 and 99 is the same.
110 0011 is 99.
110 0100 is 100. Same amount of memory.
Max memory limit to hold 9999 would also hold 16, 383

Visually, however, you have to code in a display with additional digits. If one of those digits is almost never going to be used, it's not worth the effort and visual clutter, so you might as well stick with one less than the even multiple of ten. Even if you get into using scientific notation, you're still going to want to cap the number of digits on the exponent so the number will fit in the display you design.

---
This is my signature. It exists to keep people from skipping the last line of my posts.
... Copied to Clipboard!
Topic List
Page List: 1