Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
neokantian
on Feb 14, 2019
|
parent
|
context
|
favorite
| on:
Problem solving with Unix commands
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:
$ printf "%1.0f\n" 009
9
$ printf "%1.0f\n" 00125990
125990