RhinoCommon API
RhinoMathParseNumber Method |
Evaluates command line math expression.
Namespace: Rhino
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.0
public static double ParseNumber( string expression )
Public Shared Function ParseNumber ( expression As String ) As Double
Parameters
- expression
- Type: SystemString
Return Value
Type: Doubleresult
| Exception | Condition |
|---|---|
| ArgumentNullException | expression is null. |
| FormatException | expression cannot be parsed. |