Edit in JSFiddle

function calculateAdjustedBMI(height, weight, digits) {
      //https://people.maths.ox.ac.uk/trefethen/bmi.html
      // 1.3*weight(kg)/height(m)^2.5
		  return (1.3 * weight / Math.pow(height / 100, 2.5)).toFixed(digits);
 };
 
  
 //højde: 192cm * vægt: 93,5kg * vis med 2 decimaler
 console.log(calculateAdjustedBMI(192,93.5,2)); // --> 23.80