Personal like that I calculate example 1.400 + 1.400 I would like the result to be the following result = 2800 and not 2.8 can anybody help me there?
$('input[type="text"]').keyup(function(){
var val = $($(this)).val().replace(',','.');
$($(this)).val(val);
$('#result').val(Number($('input[name="number_01"]').val()) + Number($('input[name="number_02"]').val()));
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script><formaction="">
<label for="">Peso 01: </label>
<br>
<input type="text" name="number_01" id="number_01"><br>
<label for="">Peso 02: </label>
<br>
<input type="text" name="number_02" id="number_02"><br><br>
<label for="">Resultado: </label>
<br>
<input type="text" name="result" id="result">
</form>