Summary Fuel Costs for Toyota Vios
Total | Per Litre | Per Week | Per 100 km's | Cost (baht) | ' . $totalCost . ' | '; printf("%2.2f", $totalCost/$totalLitres); echo ' | '; printf("%3.0f", $totalCost/$totalWeeks); echo ' | '; printf("%3.0f", $totalCost*100/$totalDistance); echo " | "; echo ""; echo "
---|---|---|---|---|
Distance (km) | '; printf("%5.0f",$totalDistance); echo ' | '; printf("%2.1f",$totalDistance/$totalLitres); echo ' | '; printf("%3.0f", $totalDistance/$totalWeeks); echo ' | - | '; echo "
Fuel (litres) | '; printf("%4.0f", $totalLitres); echo ' | - | '; printf("%3.0f", $totalLitres/$totalWeeks); echo ' | '; printf("%1.1f", $totalLitres*100/$totalDistance); echo " | "; echo "
Weeks: %1.1f",$totalWeeks); include 'dbclose.php'; ?> Detailed records of each fuel purchase can be found here.
Created on Tue, 20 May 2008, 5:42pm
Last changed on Fri, 08 May 2009, 8:00pm