ee.Array.round
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחשבת את המספר השלם הקרוב ביותר לקלט, על בסיס אלמנט-אלמנט.
שימוש | החזרות |
---|
Array.round() | מערך |
ארגומנט | סוג | פרטים |
---|
זה: input | מערך | מערך הקלט. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003e\u003ccode\u003eArray.round()\u003c/code\u003e is a method that operates on each element of an array.\u003c/p\u003e\n"],["\u003cp\u003eThis method calculates and returns a new array where each element is the closest integer to the corresponding element in the input array.\u003c/p\u003e\n"]]],["The core function `Array.round()` operates element-wise on an input array, returning a new array. It calculates the nearest integer for each element in the input. The input is an array of numbers, and the output is also an array containing the rounded integer values.\n"],null,["# ee.Array.round\n\nOn an element-wise basis, computes the integer nearest to the input.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------|---------|\n| Array.round`()` | Array |\n\n| Argument | Type | Details |\n|---------------|-------|------------------|\n| this: `input` | Array | The input array. |"]]