Skip to content

Instantly share code, notes, and snippets.

@drakakisgeo
Created October 28, 2013 16:52
Show Gist options
  • Save drakakisgeo/7200450 to your computer and use it in GitHub Desktop.
Save drakakisgeo/7200450 to your computer and use it in GitHub Desktop.
Money Format (decimal db value to Euro)
function money($amount){
setlocale(LC_MONETARY, 'el_GR.UTF-8');
return money_format("%!n",$amount);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment