in reply to Re: Some simple math and absolute values (updated)in thread Some simple math and absolute values
$PFACT * ($weight, ($weight >= 0) * 2 - 1)[abs $weight < $MIN] [download]