Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
[[["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.long()\u003c/code\u003e casts the input Number value to a signed 64-bit integer.\u003c/p\u003e\n"],["\u003cp\u003eCasting floating point numbers to long using this method results in the loss of decimal precision.\u003c/p\u003e\n"],["\u003cp\u003eThe method returns an \u003ccode\u003eee.Number\u003c/code\u003e object representing the integer value.\u003c/p\u003e\n"]]],["The `Number.long()` method casts an input value to a signed 64-bit integer. It takes a Number as input and returns a Number. Casting a floating-point number to long results in the loss of decimal precision. Numbers outside the range and precision of a 64-bit integer may be modified during the cast. Examples demonstrate casting a regular number and a floating number into long using JavaScript and Python.\n"],null,[]]