Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Non US ZIPs regularily have strings in them (e.g. Dutch ZIP codes) so a string would be appropriate.


This is half right. String would be more appropriate than an integer type even if that weren't true. ZIP codes really don't have anything to do with the fundamental numerical operations that are defined for integer types.


plus zip codes can start with "0". Excel always screws this up




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: