Last active
November 29, 2016 17:10
-
-
Save calina-c/67180e4a3ba43a122c3d03d5565318b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return sprintf("%0.3f",$number); | |
return number_format($number, 3, '.', ''); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment