【php基礎班】第12天 網頁對象介紹、對象深入講解、事件、定時器

第一節     昨日回顧 1)   Math對象 a) Math.pow(n1,n2),求n1的n2次方 b) Math.abs(n)求n的絕對值 c) Math.floor();向下取整(不大於這個數的最大整數) d) Math.ceil();想上取整(不小於這個數的最小整數) e) Math.random()求得0到1的隨即數,這個隨即數不包含1,包含0 f) Math.floor(Math.
相關文章
相關標籤/搜索