floor()

คำนวณค่า int ที่ใกล้เคียงที่สุดที่น้อยกว่าหรือเท่ากับค่าของพารามิเตอร์ Maps to Math.floor ()

รูปแบบการใช้งาน

floor ( n )

พารามิเตอร์

  • n Number: จำนวนรอบ

ค่าที่ส่งออกมา

  • Number: ตัวเลขปัดเศษ


[1]This document was generated from p5.js whose source code is available on github.