Usage | Returns |
---|---|
Number.max(right) | Number |
Argument | Type | Details |
---|---|---|
this: left | Number | The left-hand value. |
right | Number | The right-hand value. |
Examples
Code Editor (JavaScript)
print('Given 5 and 10, max is 10', ee.Number(5).max(ee.Number(10))); // 10
Usage | Returns |
---|---|
Number.max(right) | Number |
Argument | Type | Details |
---|---|---|
this: left | Number | The left-hand value. |
right | Number | The right-hand value. |
print('Given 5 and 10, max is 10', ee.Number(5).max(ee.Number(10))); // 10
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-04-18 UTC.