Rounding up.

Is there any way to force a variable to be rounded up?
For example:
Shipping is $4 for everything under 1 pound. It's $0.10 for every whole pound after the first pound. So shipping an item that's 2.3 pounds is $4 for the first and $0.20 for 1.3 pounds over the first pound. It's not (.1 * 1.3) it should be (.1 * 2).
Topic archived. No new replies allowed.