Hi,
Can anyone help me convert the inputs to numbers instead of strings?
I’m trying to make a calculator of sorts:crazy:
var array = new Array();
function insert(val)
{
array[array.length]=val;
}
function show()
{
var string="";
for(i = 0; i < array.length; i++)
document.getElementById("e").value = string=string+array[i]+"\
";
}