Method ToString
ToString(string, CalcValueFormat, int)
Returns the objects value represented as a string.
Declaration
string ToString(string units, CalcValueFormat format = CalcValueFormat.Fixed, int precision = 3)
Parameters
| Type | Name | Description |
|---|---|---|
| string | units | Units to use for converting the numeric value, if omitted the value will be represented in base units. |
| CalcValueFormat | format | format Expression text format to use for representing the numerical value (E = Engineering, F = Fixed, G = General, S = Scientific, O = Data Input/Output, U = User input) |
| int | precision | Numeric precision to use |
Returns
| Type | Description |
|---|---|
| string | The objects value as a string |