会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Carl's NetSuite Notes
NetSuite SuiteScript, Customization and Integration as well as general developing and design stuff, share solutions, and more.
首页
新随笔
订阅
管理
2009年6月5日
js 取得几位小数点
摘要: var n=1.143212 (n.toString().split(".")[1].length 这个是把n 变为string 在用length 判断就可以了。
阅读全文
posted @ 2009-06-05 17:24 CarlZeng
阅读(174)
评论(0)
推荐(0)
编辑
公告