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