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

> should either round or truncate when the parameter is a floating point number

Isn't the parameter always floating point in Javascript? (which does mean a package like isOdd will have to incorporate some level of mysticism...)



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

Search: