I have this function that takes the input of “a”, runs a calculation and displays it in text field “c”.
$('input[name="c"]').val($('input[name="a"]').val().replace(/\,/g,'')*.03-5995);
If the result of the calculation is less than 225, I’d like it to just display 225 so that nothing below that figure is returned.
Use the maximum function