Writes a formatted string representation of this matrix using commas
and newlines. Numbers are formatted using the specified format string.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public void WriteAsCSV( TextWriter writer, string formatString ) |
| Visual Basic (Declaration) |
|---|
Public Sub WriteAsCSV ( _ writer As TextWriter, _ formatString As String _ ) |
| Visual C++ |
|---|
public: void WriteAsCSV( TextWriter^ writer, String^ formatString ) |
Parameters
- writer
- Type: System.IO..::.TextWriter
Writer where text is written.
- formatString
- Type: System..::.String
Format string used to format the matrix values.
Remarks
Cells are separated by commas, rows by newlines.
Examples
An example using "c" as the format string.
CopyC#
$1.00,$2.00,($3.00) $4.00,($5.01),$6.00 $7.00,$8.00,$9.00