Ver originalfunction cambiaNum(num){numTXT=num;numTXT=numTXT.replace(".", "");numTXT=numTXT.replace(",", ".");if(!isNaN(numTXT)){alert(parseInt(numTXT,10));}else{alert("No es un numero");}}