I do not know if I understand, but in the javascript code below, I want every time I click the button, a sum occurs, but I can only concatenate. Thanks!
function somar(){
document.getElementById("valorSomado").value += 80;
}
<button onclick="somar();">Somar</button>
<input type="text" id="valorSomado">