Remove the leading 0's till the decimal

前端 未结 3 1529

I want to remove the leading zeros in the decimal numbers.

So i want the output should be .324 not 0.324. I tried str.replaceFi

3条回答
提交回复
热议问题