SpioHelper number format problem.

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • SpioHelper number format problem.

      Well, due to my community use "comma" to do number format, there's a problem to count.


      plz change the code

      Source Code

      1. R1:NMR.parseInt(b.find("table.material table td:eq(1)").html().replace(/\./g,"")),
      2. R2:NMR.parseInt(b.find("table.material table td:eq(3)").html().replace(/\./g,"")),
      3. R3:NMR.parseInt(b.find("table.material table td:eq(5)").html().replace(/\./g,"")),
      4. R4:NMR.parseInt(b.find("table.material table td:eq(7)").html().replace(/\./g,"")

      :arrow:

      Source Code

      1. R1:NMR.parseInt(b.find("table.material table td:eq(1)").html().replace(/[\.\,]/g,"")),
      2. R2:NMR.parseInt(b.find("table.material table td:eq(3)").html().replace(/[\.\,]/g,"")),
      3. R3:NMR.parseInt(b.find("table.material table td:eq(5)").html().replace(/[\.\,]/g,"")),
      4. R4:NMR.parseInt(b.find("table.material table td:eq(7)").html().replace(/[\.\,]/g,"")


      then it support both point and comma.