Skip to content

Instantly share code, notes, and snippets.

@polonskiy
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save polonskiy/75e8bafc4b517ec53fe1 to your computer and use it in GitHub Desktop.
Save polonskiy/75e8bafc4b517ec53fe1 to your computer and use it in GitHub Desktop.
comma deciaml separator
<?php
setlocale(LC_ALL, 'uk_UA.UTF-8');
$float = 1.2345;
echo "$float\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment