Description
Converts the value to a string.
Timing Precision Mode
This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.
Click here to see the documentation for this object in nanosecond timing precision mode.
Overload List
Signatures
|
Return Value
|
Description
|
Variable.ToString()
|
String
|
Converts the value to a string representation (e.g. scientific, floating point, or integer) based on the magnitude of the value. If you require a specific format, use the Variable.ToString(String) method overload, the Format method for scientific or floating point representations, or the IFormat method for integer representations.
|
Variable.ToString(String format)
|
String
|
Converts the number held by the calling Variable into a string based on the format specifiers given by formatString. The format specifiers are standard C/C++ specifiers as used with the sprintf function. The Format method converts a double precision floating point value to a string; the IFormat method should be used to convert an integer value to a string.
|
See also
Variable Object
Matrix, Array, and Variable Math Guide
|