Stay organized with collections
Save and categorize content based on your preferences.
Computes a numeric expression.
Usage
Returns
ee.Number.expression(expression, vars)
Number
Argument
Type
Details
expression
String
A mathematical expression string to be evaluated. In addition to the standard arithmetic, boolean and relational operators, expressions also support any function in Number, the '.' operator to extract child elements from the 'vars' dictionary, and mathematical constants Math.PI and Math.E.
vars
Dictionary, default: null
A dictionary of named values that can be used in the expression.
[[["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 2024-07-13 UTC."],[[["`ee.Number.expression` computes a numeric expression provided as a string."],["It supports standard arithmetic, boolean, relational operators, as well as `ee.Number` functions, and mathematical constants."],["A dictionary of variables can be passed to the function to be used within the expression."],["Dot notation can be utilized within the expression to access child elements of variables provided in the dictionary."]]],[]]