This is what I have right now:
$(\"#number\").val(parseFloat($(\"#number\").val()).toFixed(2));
It looks messy to me. I don\'t think I\'m
Maybe something like this, where you could select more than one element if you'd like?
$("#number").each(function(){ $(this).val(parseFloat($(this).val()).toFixed(2)); });