Created
September 2, 2013 05:36
-
-
Save midoribashikk/6409506 to your computer and use it in GitHub Desktop.
returns a number of digits
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 (Math.floor(Math.log10(m)) + 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment