View Single Post
Old 11-04-2006, 12:36   #3 (permalink)
d3mcfadden
Senior Member
 
d3mcfadden's Avatar
 
Join Date: Apr 2005
Location: -
Posts: 694
Send a message via AIM to d3mcfadden
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; }
  Reply With Quote