VirtualVariable.ToString Method

Top 

Description

Converts the value to a string.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Overload List

Signatures

Return Value

Description

VirtualVariable.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.

VirtualVariable.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

VirtualVariable Object