Keys →
Functions ↓
function goPartWayBetween ( $a, $b, $pc ) {#-k math#- return the number that is $pc*100 percent of the way from $a to $b (0 <= $pc <= 1)#- This is the inverse of howFarBetween#-d 2/3/21 - moved from weatherS#-s See also: howFarBetween $d = abs($a-$b)*$pc; if ($a > $b) return $a-$d; else return $a+$d; }?>