diff --git a/Views/Vehicle/_Gas.cshtml b/Views/Vehicle/_Gas.cshtml
index e5e56b5..6bd9366 100644
--- a/Views/Vehicle/_Gas.cshtml
+++ b/Views/Vehicle/_Gas.cshtml
@@ -65,7 +65,7 @@
@gasRecord.Date |
@gasRecord.Mileage |
@gasRecord.Gallons.ToString("F") |
- @gasRecord.MilesPerGallon.ToString("F") |
+ @(gasRecord.MilesPerGallon == 0 ? "---" : gasRecord.MilesPerGallon.ToString("F")) |
@gasRecord.Cost.ToString("C") |
@gasRecord.CostPerGallon.ToString("C") |