Version: 2020.3
언어: 한국어

파라미터

expression A string containing a mathematical expression (e.g. "4 + 3").

반환

void The result of the evaluation (0 for invalid expressions).

설명

Evaluates a math expression and returns the result as a float or int.

If the expression is invalid or cannot be evaluated properly, then the result will be 0.