Java tutorial
//package com.java2s; public class Main { public static Float evaluateFloat(float fraction, Number startValue, Number endValue) { float startFloat = startValue.floatValue(); return startFloat + fraction * (endValue.floatValue() - startFloat); } }