I have the following code in a shopping cart.
1) What is MathCeil used for ? Not having luck searching for it. I'm
guessing it's used to return a number.
2) Can this code be modified to return a number that is always rounded UP?
i.e. 1.1 lbs. = 2 lbs.
thanks
<SCRIPT LANGUAGE=JavaScript RUNAT=Server NAME="UC_CARTII">
function MathCeil(num) {
return Math.ceil(num)
}
</SCRIPT>