Y
Hacker News
new
|
ask
|
show
|
jobs
by
katzenversteher
740 days ago
str(x) converts the argument to a string. Since the argument is an integer, there won't be any leading zeroes. More problematic are negative values though.