Posts by Usuario • 1 point
2 posts
-
-3
votes1
answer79
viewsQ: How to get rid of Nan when I erase the i8 field
I have a form with two fields i8 and i9 and a function calcular which places the results in a field result. When the field i8 is blank and function calcular() is called, appears written on it NaN.…
-
0
votes0
answers92
viewsQ: How do this function compute with a comma instead of a dot?
<script type="text/javascript"> $(document).ready(function() { $("#somar").click(function(){ var total = 0; var desconto = $("#desconto").val() != "" ? $("#desconto").val()…
javascriptasked Usuario 1