C# Class Encog.Util.CSV.CSVFormat

ファイルを表示 Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
CSVFormat ( ) : System

Default constructor for reflection.

CSVFormat ( char decimalChar, char separatorChar ) : System

Create a CSV format for the specified decimal char and separator char.

Format ( double d, int digits ) : String

Format the specified number into a string.

Parse ( String str ) : double

Parse the specified string into a number.

Method Details

CSVFormat() public method

Default constructor for reflection.
public CSVFormat ( ) : System
return System

CSVFormat() public method

Create a CSV format for the specified decimal char and separator char.
public CSVFormat ( char decimalChar, char separatorChar ) : System
decimalChar char The character for a decimal point or comma.
separatorChar char The separator char for a number list, likely comma or semicolon.
return System

Format() public method

Format the specified number into a string.
public Format ( double d, int digits ) : String
d double The number to parse.
digits int The number of fractional digits.
return String

Parse() public method

Parse the specified string into a number.
public Parse ( String str ) : double
str String The string to parse.
return double