Well, due to my community use "comma" to do number format, there's a problem to count.
![](http://i.imgur.com/YWoJWhF.png)
plz change the code
then it support both point and comma.
![](http://i.imgur.com/YWoJWhF.png)
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,"")
![:arrow:](https://board.origin.ogame.gameforge.com/wcf/images/smilies/arrow.png)
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.
![](http://i.imgur.com/kaSvjOS.png)
![](http://antigame.de/banner/banner3.png)