Why i take number to string, the list of the number will add "0000"

It’s all about object type. Doubles have inherent precision (even if it’s not displayed) so converting them to strings results in trailing zeros. An integer will convert with no trailing zeroes.
image

2 Likes