in reply to Finding the max()/min()
cLive ;-)$max = $x%$y-$x ? $x : $y
update: d'oh. caveat - "for $x and $y both +ve integers lol...
In Section
Meditations
in reply to Finding the max()/min()
cLive ;-)$max = $x%$y-$x ? $x : $y
update: d'oh. caveat - "for $x and $y both +ve integers lol...