an unknown number, and I don"t know whether it has a decimal point or how many digits it takes
to convert it to a string
the decimal point cannot be omitted
there may be many zeros after the decimal point
for example: 18, 20.3, 3.6, 3.001, 3.0000
what is commonly used is str = num +"";
but unfortunately 3.0000 +"
= 3
.