$total = ($wt || $min) * $price; $total = $total/abs($total) * $price * $min if abs($wt) < $min +;
In reply to Re^2: Some simple math and absolute values
by sidmuchrock
in thread Some simple math and absolute values
by sidmuchrock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |