Hi Im using framework 4.5, asp.net, c# to caculate quote instantly. The quote for a delivery has be calculated using the kilometres between the pickUp point and DropOff Point, the diesel cost, wear and tear, and labourCost. The formula im using is total= (kilometre * DieselCost)+ wearAndTear + labourCost. the cost are as follows: 1. kilometre need to be calculated using google maps 2. dieselCost = R12.00 3. wearAndTear = R5000.00 4. labourCost = R10000.00
i'm totally new to javaScript as I have never done java before. I would like to know how do I go about coding this in javascript. Any help will be much appreciated.