C# Класс Encog.Util.CSV.CSVFormat

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

CSVFormat() публичный Метод

Default constructor for reflection.
public CSVFormat ( ) : System
Результат System

CSVFormat() публичный Метод

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.
Результат System

Format() публичный Метод

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.
Результат String

Parse() публичный Метод

Parse the specified string into a number.
public Parse ( String str ) : double
str String The string to parse.
Результат double