Can someone please please enlighten me to as why my toFixed() isn't working?
$("#amount").blur(function() {
        if ($('#amount').val() % 100 != 0) {
        alert("must be a multiple of 开发者_如何学JAVA100, please try again")
        } else {
        $('#fee').val(parseFloat($('#amount').val()) * .035).toFixed(2);
        }
        });
Try
$('#fee').val(parseFloat($('#amount').val() * .035).toFixed(2));
Rearranged the brackets
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论