Version: 2020.2
言語: 日本語

パラメーター

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.