Warning: Invalid argument supplied for foreach() in /home/jihswbiz/public_html/t6.gwilt.org/refDox.php on line 212
Docs-goPartWayBetween

 

ReLoad

Keys


Functions

arraybrowsercolorcookiedatetimeDBdebugdeviceDSTequiverrorflagsfontformatgeo
holidayhtmlisjsonmathparsePHPprintsearchsortstringtabletexttracetype
VOTDweatherxml

Function  goPartWayBetween   Lines 1258-1270 (12 lines)???: 2021-02-03 file  utils.php   Last mod: Fri 2021-05-14 21:45:07

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;
        }

?>