Commit b4f9de16 authored by Kristian Tan's avatar Kristian Tan

Display todays cost

parent 8646aea5
......@@ -95,7 +95,7 @@ def toggle_pin(change_pin):
else:
daily_total = 0
todays_cost = round(0.1622 * float(daily_total), 2)
todays_cost = format(0.1622 * float(daily_total), '.2f')
template_data = {
'pins': pins,
......
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