I want some help in creating a UDF for calculation Mileage of a Car.
Variables that will change - (Examples given in Bracket)
Mileage/Liter (20 Kms/Liter)
Fuel Rate/Liter (Rs. 80/Liter)
The Calculation goes like -
Mileage = (Fuel Rate/Liter) / (Mileage/Liter)
That it -
Mileage = 80/20
Therefore Mileage is Rs. 4/Km
Thank You,
Deep
Bookmarks