Created
November 30, 2015 09:53
-
-
Save jefo/3c08f7b5f837e258b4e9 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
function whatDecimalSeparator() { | |
var n = 1.1; | |
n = n.toLocaleString().substring(1, 2); | |
return n; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment