I didn't think of doing it that way. I did end up hacking it, but in a different way altogether.
I found a function that would convert a decimal to an integer, and as long as it was negative, it would do it in the way I wanted. So I ended up doing this:
no subject
Date: 2005-10-11 03:13 pm (UTC)I found a function that would convert a decimal to an integer, and as long as it was negative, it would do it in the way I wanted. So I ended up doing this:
Abs(Int(0-numBalls)) * costPerBall
instead of the easier
ceiling(numBalls)*costPerBall.
Sheesh.