Posts by F.Ivanilde • 1 point
1 post
-
0
votes1
answer54
viewsQ: How to get the result of the sum of two float values when clicking an input?
<script type="text/javascript"> function somarValores(){ var s1 = document.getElementById("s1").value; var s2 = document.getElementById("s2").value; var s3 = parseInt(s1) + parseInt(s2);…