ee.Array.floor
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפונקציה מחשבת את המספר השלם הגדול ביותר שקטן מהקלט או שווה לו, על בסיס אלמנט-אלמנט.
שימוש | החזרות |
---|
Array.floor() | מערך |
ארגומנט | סוג | פרטים |
---|
זה: input | מערך | מערך הקלט. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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. |"]]