]> asedeno.scripts.mit.edu Git - bluechips.git/blobdiff - bluechips/lib/helpers.py
Switch from using Decimal to using a new Currency class
[bluechips.git] / bluechips / lib / helpers.py
index 4bb357663737b58c3dc15477f3fa77a8629e0529..1b8771bc790972d150b4db5b874a6d8a53604e8f 100644 (file)
@@ -14,7 +14,4 @@ from decimal import Decimal
 def bluechips():
     return '<span class="bluechips">BlueChips</span>'
 
-def round_currency(value):
-    return Decimal(value).quantize(Decimal('0.01'))
-
 flash = _Flash()