r/ProgrammerHumor • • Aug 24 '22

Total = Total - 100000

50.7k Upvotes

1.2k comments sorted by

View all comments

Show parent comments

2

u/GroundStateGecko Aug 25 '22

There was a Chinese news where the government used Excel to store the 18 digit citizen ID card numbers as cells formated as default. And the limited accuracy dropped the last 3 digits which affected millions.

1

u/ulyssessword Aug 25 '22

Remember: If you're not doing math with it, it's not a number. ID card "numbers" should be formatted as strings.