且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将文本框值转换为int

更新时间:2023-02-04 08:26:11

代替使用parseInt使用parseFloat,它将像这样

Instead of using parseInt use parseFloat it will work like this

results = parseFloat(x);