Looking for something like InverseLerp()


Mathf::InverseLerp(float xx, float yy, float value)
{
    return (value - xx)/(yy - xx);
}