$new += $frac if int ($_ / $frac) == ceil ($_ / $frac);
Abigail
In reply to Re: Rounding values upwards on an arbitrary basis
by Abigail-II
in thread Rounding values upwards on an arbitrary basis
by ibanix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |