Version: 2022.3
public static bool TryParse (string expression, out T result);

参数

expression Expression to be parsed.
result Type of the numeric value.

返回

bool Returns true if the parsing succeed.

描述

Try to parse an expression into a number.