Report question

Question: Better way than if else if else... for linear interpolation