Elaine is mentioning exactly what I am talking about. I am simply showing it in mathematical terms.
All I am saying is that you raise the total miles to the -1 power--this creates the inverse that Elaine mentioned. Then the remaining operation is multiplication.
I'm not sure how much more of an "example" I can provide. I suppose I can plug in the numbers that you show:
Thibault St john Cholmondeley-ffeatherstonehaugh the 2ndCommented:
Kaufmed, thanks for explaining. I am viewing this in mobile interface and sorry, but I hadn't opened your code snippet so I may have repeated your answer.
0
Blueice13085Author Commented:
what i mean is i dont have a way of using ^ -1 so how can i replace the ^ would this just be like this
Thibault St john Cholmondeley-ffeatherstonehaugh the 2ndCommented:
If that is the tool you have to work with I think you could only do it by manually calculating the inverse of the distance and inputting the result.
So for instance
Total cost= 120
Miles=50
Thibault St john Cholmondeley-ffeatherstonehaugh the 2ndCommented:
But beware because that looks like you are calculating total cost by adding different expenses. Surely you should be inputting cost per mile and the number of miles to let it calculate the total cost for you?
0
Featured Post
We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
I'm assuming you're wondering
let x represent total miles
let y represent cost per mile
x * y = total cost