js 类型转换( 转化为整型)

parseInt();

例子:

var   a=parseInt("0004");  

完了..

posted @ 2009-01-14 10:46  黄京  阅读(4192)  评论(0编辑  收藏  举报