ee.Array.floor
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คำนวณจำนวนเต็มที่มากที่สุดซึ่งน้อยกว่าหรือเท่ากับอินพุตทีละองค์ประกอบ
การใช้งาน | การคืนสินค้า |
---|
Array.floor() | อาร์เรย์ |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ input | อาร์เรย์ | อาร์เรย์อินพุต |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThe \u003ccode\u003eArray.floor()\u003c/code\u003e method calculates the largest integer less than or equal to each element in an input array.\u003c/p\u003e\n"],["\u003cp\u003eIt operates on each element individually and returns a new array containing the results.\u003c/p\u003e\n"],["\u003cp\u003eThe input to this method is an array and it returns an array of the same size.\u003c/p\u003e\n"]]],["The `Array.floor()` method calculates the floor of each element within an input array. It operates element-wise, determining the largest integer that is less than or equal to each element. The method takes a single argument: the input array. The return value is a new array containing the floor of each corresponding element from the input. The method acts on arrays.\n"],null,["# ee.Array.floor\n\nOn an element-wise basis, computes the largest integer less than or equal to the input.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------|---------|\n| Array.floor`()` | Array |\n\n| Argument | Type | Details |\n|---------------|-------|------------------|\n| this: `input` | Array | The input array. |"]]