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




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

Search: