Matrix.Format Method

Top 

Description

Converts the numeric values contained within the calling Matrix 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. By default, columns are delimited with spaces, and rows will be delimited with a newline.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

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

 

Overload List

Signatures

Return Value

Description

Matrix.Format(String formatString)

String

Converts the numeric values contained within the calling Matrix 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. Matrix columns will be delimited using a space, and rows will be delimited with a newline.

Matrix.Format(String formatString, String columnDelimiter)

String

Converts the numeric values contained within the calling Matrix 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. Matrix columns will be delimited using columnDelimiter, and rows will be delimited with a newline.

Matrix.Format(String formatString, String columnDelimiter, String rowDelimiter)

String

Converts the numeric values contained within the calling Matrix 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. Matrix rows and columns will be delimited using the provided format specifiers.

 

 

See also

Matrix Object

Matrix, Array, and Variable Math Guide