Skip to content

Instantly share code, notes, and snippets.

@is8r
Last active December 16, 2015 21:29
Show Gist options
  • Save is8r/5500541 to your computer and use it in GitHub Desktop.
Save is8r/5500541 to your computer and use it in GitHub Desktop.
数字で3桁毎にカンマが入った文字列を数値に変換する
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