C# Class Encog.Util.CSV.CSVFormat

Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Default constructor for reflection.
public CSVFormat ( ) : System
Résultat System

CSVFormat() public méthode

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.
Résultat System

Format() public méthode

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.
Résultat String

Parse() public méthode

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