Variable.IFormat(String) Method |
Top |
DescriptionConverts the number held by the calling object into a string based on the specified format specifiers. The format specifiers are standard C/C++ specifiers as used with the sprintf function. The IFormat method converts an integer value to a string; the Format method should be used to convert a double precision floating point value to a string.
The format is specified using the syntax shown below. Each field is a single character or a number signifying a particular format option. The flag(s), width, precision, and length are optional. The simplest format specifications contain only the percent sign and a type character (for example, "%f"). For more information, see the Parsing Arbitrary String Data reference.
%[flags][width][.precision][length]type
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.
Method Signature
Arguments
Return Value
Converts an integer value to a string. If the calling Variable is not an integer, only the integer part of the value will be used.
Syntax
See also Matrix, Array, and Variable Math Guide
|