Well, due to my community use "comma" to do number format, there's a problem to count.
plz change the code
then it support both point and comma.
plz change the code
Source Code
- R1:NMR.parseInt(b.find("table.material table td:eq(1)").html().replace(/\./g,"")),
- R2:NMR.parseInt(b.find("table.material table td:eq(3)").html().replace(/\./g,"")),
- R3:NMR.parseInt(b.find("table.material table td:eq(5)").html().replace(/\./g,"")),
- R4:NMR.parseInt(b.find("table.material table td:eq(7)").html().replace(/\./g,"")
Source Code
- R1:NMR.parseInt(b.find("table.material table td:eq(1)").html().replace(/[\.\,]/g,"")),
- R2:NMR.parseInt(b.find("table.material table td:eq(3)").html().replace(/[\.\,]/g,"")),
- R3:NMR.parseInt(b.find("table.material table td:eq(5)").html().replace(/[\.\,]/g,"")),
- R4:NMR.parseInt(b.find("table.material table td:eq(7)").html().replace(/[\.\,]/g,"")
then it support both point and comma.