Skip to content

Instantly share code, notes, and snippets.

@wallacemaxters
Created August 27, 2015 13:34
Show Gist options
  • Save wallacemaxters/715e31ecb4a825b25cc0 to your computer and use it in GitHub Desktop.
Save wallacemaxters/715e31ecb4a825b25cc0 to your computer and use it in GitHub Desktop.
function format_money(number)
{
return (number).toFixed(2).replace('.', ',');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment