$PFACT * ($weight, ($weight >= 0) * 2 - 1)[abs $weight < $MIN]
In reply to Re^2: Some simple math and absolute values (updated)
by choroba
in thread Some simple math and absolute values
by sidmuchrock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |