Skip to content

Instantly share code, notes, and snippets.

@msherry
Created September 26, 2012 19:35
Show Gist options
  • Save msherry/3790071 to your computer and use it in GitHub Desktop.
Save msherry/3790071 to your computer and use it in GitHub Desktop.
def fmt_currency(val):
return '%.02f' % (val/100.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment