11-04-2006, 12:36
|
#3 (permalink)
|
|
Senior Member
Join Date: Apr 2005
Location: -
Posts: 694
|
something like this???
Code:
function rateCalc (price, rate, days) {
var final_price = Math.round(((price * rate * days))*100)/100; //round to 2 dec
return final_price;
}
|
|
|
|