i have this html
<p class="res_current tooltip" name="2.969.226.853.669.634.301.755.392" id="current_metal">3 Q</p>
im using this code to get the number of name:
var a = document.getElementById('current_metal').name;
i need to use a to compare like
if(a < 10) { do something }
but the problem is that when i see a (using alert) it return something like this
-> 2,96922685366e+24
so i cant do the if :(, there is a way to get the FULL number without the "."? or convert it