Version: 2023.2
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.