Commit 8d72bfca authored by Kristian Tan's avatar Kristian Tan

Display todays cost

parent a06b6c25
...@@ -96,6 +96,7 @@ def toggle_pin(change_pin): ...@@ -96,6 +96,7 @@ def toggle_pin(change_pin):
daily_total = 0 daily_total = 0
todays_cost = float(daily_total) * 0.1622 todays_cost = float(daily_total) * 0.1622
print(todays_cost)
todays_cost = format(todays_cost, '.2f') todays_cost = format(todays_cost, '.2f')
print(todays_cost) print(todays_cost)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment