VirtualVariable.ToString(String) Method

Top 

Description

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.

 

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.

 

Method Signature

VirtualVariable.ToString(

String format)

 

 

Arguments

format


Description:

The format specification to use when converting the value to a string.

 

 

 

Return Value

Type:

string

 

 

The resulting String from the conversion.

 

Syntax

myString1 = mySpacecraft1.A.ToString(myString2);

 

 

See also

VirtualVariable Object

VirtualVariable.ToString