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

Yes, you are right. This seems to work better:

$ printf "%1.0f\n" 009

9

$ printf "%1.0f\n" 00125990

125990




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: