ee.Array.floor
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Oblicza największą liczbę całkowitą, która jest mniejsza lub równa danym wejściowym.
Wykorzystanie | Zwroty |
---|
Array.floor() | Tablica |
Argument | Typ | Szczegóły |
---|
to: input | Tablica | Tablica wejściowa. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]