我在文件中有一行内容为:
"p" : "1.87","cs" : "chb","c" : "0.00","cp" : "0.00","b" : "2.25"
我希望它阅读的是:
"p" : 1.87,"cs" : "chb","c" : 0.00,"cp" : 0.00,"b" : 2.25
并摆脱浮点数周围的双引号
我在文件中有一行内容为:
"p" : "1.87","cs" : "chb","c" : "0.00","cp" : "0.00","b" : "2.25"
我希望它阅读的是:
"p" : 1.87,"cs" : "chb","c" : 0.00,"cp" : 0.00,"b" : 2.25
并摆脱浮点数周围的双引号