Hacker News new | past | comments | ask | show | jobs | submit login

In both examples, to check distance and price, the author should have simply used is_numeric()



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: