摘要:
Math.random():返回0-1之间的任意数,不包括0和1;Math.floor(num):返回小于等于num的整数,相当于四舍五入的四舍,不五入;例子:Math.floor(1.0);Math.floor(1.5);Math.floor(1.9);都返回1;Math.round(num):n... 阅读全文
posted @ 2015-01-03 12:05
风霄圣兮
阅读(241)
评论(0)
推荐(0)
浙公网安备 33010602011771号