Join Slack
Powered by
I have a string “000016” When i call .toString() ,...
# android
p
pascalchidi
03/04/2021, 9:56 PM
I have a string “000016” When i call .toString() , it removes the zeros why ?
d
Dominaezzz
03/04/2021, 9:59 PM
Like this?
println("000016".toString())
?
o
Orhan Tozan
03/05/2021, 11:26 AM
Because leading zeros is not the way we write numbers
Open in Slack
Previous
Next