Function proportion

Scales a percentage-scale number, ie: v * t. The utility of this function is that it sanity-checks that both parameters are in the 0..1 scale.