Method ToDouble
ToDouble(string)
Returns the objects value converted to a double. Only applicable for CalcValue objects of type Number.
Declaration
double ToDouble(string units)
Parameters
| Type | Name | Description |
|---|---|---|
| string | units | Units to use for the conversion, if omitted the value will be returned in base units. |
Returns
| Type | Description |
|---|---|
| double | The objects numeric value in the specified units |