Skip to content

Instantly share code, notes, and snippets.

@loufq
Created April 11, 2014 23:10
Show Gist options
  • Save loufq/10508760 to your computer and use it in GitHub Desktop.
Save loufq/10508760 to your computer and use it in GitHub Desktop.
(1234622225).toLocaleString("zh-Hans-CN-u-nu-hanidec")//firefox下输出 "1,234,622,225" IE与chrome下输出 "一,二三四,六二二,二二五"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment