Last active
December 16, 2015 21:29
-
-
Save is8r/5500541 to your computer and use it in GitHub Desktop.
数字で3桁毎にカンマが入った文字列を数値に変換する
This file contains hidden or 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
price2Int = (n) -> | |
parseInt n.toString().split(",").join("") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment