Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eshort()\u003c/code\u003e function casts a given Earth Engine Number to a signed 16-bit integer, effectively converting it to a value within the range of -32768 to 32767.\u003c/p\u003e\n"],["\u003cp\u003eWhen applied to floating-point numbers, the \u003ccode\u003eshort()\u003c/code\u003e function truncates the decimal portion, resulting in a loss of precision.\u003c/p\u003e\n"],["\u003cp\u003eIf the input number exceeds the maximum value of a signed 16-bit integer (32767), the function returns the maximum value; conversely, if the input falls below the minimum value (-32768), the function returns the minimum value.\u003c/p\u003e\n"],["\u003cp\u003eThis function is useful for ensuring that numerical data conforms to the constraints of a 16-bit integer representation, which can be important for memory management and compatibility with certain data formats.\u003c/p\u003e\n"]]],[],null,[]]