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\u003e\u003ccode\u003eNumber.int16()\u003c/code\u003e casts a given input number to a signed 16-bit integer, within the range of -32768 to 32767.\u003c/p\u003e\n"],["\u003cp\u003eWhen casting a floating-point number, the decimal precision is lost, resulting in the integer part of the number.\u003c/p\u003e\n"],["\u003cp\u003eNumbers exceeding the maximum value of the signed 16-bit integer range are converted to the maximum value (32767).\u003c/p\u003e\n"],["\u003cp\u003eConversely, numbers falling below the minimum value of the signed 16-bit integer range are converted to the minimum value (-32768).\u003c/p\u003e\n"]]],["The `int16()` method casts a number to a signed 16-bit integer, with a range of -32768 to 32767. Input values outside this range are clamped to the range's minimum or maximum. Floating-point numbers lose decimal precision during the cast. The method takes an input `Number` and returns a `Number` of the signed int16 type.\n"],null,[]]