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.divide()\u003c/code\u003e divides the first number (\u003ccode\u003eleft\u003c/code\u003e) by a second number (\u003ccode\u003eright\u003c/code\u003e), resulting in a new number.\u003c/p\u003e\n"],["\u003cp\u003eIf the divisor (\u003ccode\u003eright\u003c/code\u003e) is 0, the function returns 0 instead of throwing an error.\u003c/p\u003e\n"],["\u003cp\u003eIt supports both positive and negative numbers for both dividend and divisor, handling various arithmetic scenarios.\u003c/p\u003e\n"],["\u003cp\u003eThis function is available in both JavaScript and Python versions of the Earth Engine API.\u003c/p\u003e\n"]]],["The `divide()` function performs division between two numbers, `left` and `right`. It's called on a `Number` object (`left`) and takes another `Number` (`right`) as an argument. The result is also a `Number`. If the `right` value is zero, the function returns 0, otherwise returns the division result. Both positive and negative numbers are allowed as arguments, as showed in the examples.\n"],null,[]]