I have been trying to get my output decimals to round to 2 places but am not using .toFixed or .round correctly.
Where is the correct place to put them?
$(function(){
    var val     = $('#height-slider').val();
    heightOutput  = $('#height-output');
    heightOutput.html(val);
    $('#height-slider').on('change', function(){
        heightOutput.html(this.value);
        $('#height-output1').html(parseInt(this.value)/2.42868520091);
        $('#height-output2').html(parseInt(this.value)/2.41585201564);
    });
});
 
     
     
    