C# 클래스 DevUtils.PrimitivesExtensions.DoubleExtensions

Double extensions class
파일 보기 프로젝트 열기: jornfilho/.net-Dev-Utils

공개 메소드들

메소드 설명
IsValidDouble ( this strValue ) : bool

Test if string value is a valid double value

IsValidDouble ( this strValue, NumberStyles numberStyle, CultureInfo culture ) : bool

Test if string value is a valid double value

TryParseDouble ( this strValue ) : double

Convert double string value in double value

TryParseDouble ( this strValue, NumberStyles numberStyle, CultureInfo culture ) : double

Convert double string value in double value

TryParseDouble ( this strValue, double defaultValue ) : double

Convert double string value in double value

TryParseDouble ( this strValue, double defaultValue, NumberStyles numberStyle, CultureInfo culture ) : double

Convert double string value in double value

TryParseDouble ( this strValue, double defaultValue, bool allowZero ) : double

Convert double string value in double value

TryParseDouble ( this strValue, double defaultValue, bool allowZero, NumberStyles numberStyle, CultureInfo culture ) : double

Convert double string value in double value

TryParseDoubleArray ( this strValue ) : double[]

Parse string array in short double

TryParseDoubleArray ( this strValue, NumberStyles numberStyle, CultureInfo culture ) : double[]

Parse string array in double array

TryParseDoubleArray ( this strValue, double defaultValue ) : double[]

Parse string array in double array

TryParseDoubleArray ( this strValue, double defaultValue, NumberStyles numberStyle, CultureInfo culture ) : double[]

Parse string array in double array

TryParseDoubleArray ( this strValue, double defaultValue, bool allowDefaultConversion ) : double[]

Parse string array in double array

TryParseDoubleArray ( this strValue, double defaultValue, bool allowDefaultConversion, NumberStyles numberStyle, CultureInfo culture ) : double[]

Parse string array in double array

메소드 상세

IsValidDouble() 공개 정적인 메소드

Test if string value is a valid double value
public static IsValidDouble ( this strValue ) : bool
strValue this string value
리턴 bool

IsValidDouble() 공개 정적인 메소드

Test if string value is a valid double value
public static IsValidDouble ( this strValue, NumberStyles numberStyle, CultureInfo culture ) : bool
strValue this string value
numberStyle NumberStyles number style to convert
culture System.Globalization.CultureInfo culture origin
리턴 bool

TryParseDouble() 공개 정적인 메소드

Convert double string value in double value
public static TryParseDouble ( this strValue ) : double
strValue this string to convert
리턴 double

TryParseDouble() 공개 정적인 메소드

Convert double string value in double value
public static TryParseDouble ( this strValue, NumberStyles numberStyle, CultureInfo culture ) : double
strValue this string to convert
numberStyle NumberStyles number style to convert
culture System.Globalization.CultureInfo double culture origin
리턴 double

TryParseDouble() 공개 정적인 메소드

Convert double string value in double value
public static TryParseDouble ( this strValue, double defaultValue ) : double
strValue this string to convert
defaultValue double default value to return on convert error
리턴 double

TryParseDouble() 공개 정적인 메소드

Convert double string value in double value
public static TryParseDouble ( this strValue, double defaultValue, NumberStyles numberStyle, CultureInfo culture ) : double
strValue this string to convert
defaultValue double default value to return on convert error
numberStyle NumberStyles number style to convert
culture System.Globalization.CultureInfo double culture origin
리턴 double

TryParseDouble() 공개 정적인 메소드

Convert double string value in double value
public static TryParseDouble ( this strValue, double defaultValue, bool allowZero ) : double
strValue this string to convert
defaultValue double default value to return on convert error
allowZero bool allow 0 valuen on convert
리턴 double

TryParseDouble() 공개 정적인 메소드

Convert double string value in double value
public static TryParseDouble ( this strValue, double defaultValue, bool allowZero, NumberStyles numberStyle, CultureInfo culture ) : double
strValue this string to convert
defaultValue double default value to return on convert error
allowZero bool allow 0 valuen on convert
numberStyle NumberStyles number style to convert
culture System.Globalization.CultureInfo double culture origin
리턴 double

TryParseDoubleArray() 공개 정적인 메소드

Parse string array in short double
public static TryParseDoubleArray ( this strValue ) : double[]
strValue this string to parse
리턴 double[]

TryParseDoubleArray() 공개 정적인 메소드

Parse string array in double array
public static TryParseDoubleArray ( this strValue, NumberStyles numberStyle, CultureInfo culture ) : double[]
strValue this string to parse
numberStyle NumberStyles number style to convert
culture System.Globalization.CultureInfo culture origin
리턴 double[]

TryParseDoubleArray() 공개 정적인 메소드

Parse string array in double array
public static TryParseDoubleArray ( this strValue, double defaultValue ) : double[]
strValue this string to parse
defaultValue double default value when default tryparse
리턴 double[]

TryParseDoubleArray() 공개 정적인 메소드

Parse string array in double array
public static TryParseDoubleArray ( this strValue, double defaultValue, NumberStyles numberStyle, CultureInfo culture ) : double[]
strValue this string to parse
defaultValue double default value when default tryparse
numberStyle NumberStyles number style to convert
culture System.Globalization.CultureInfo culture origin
리턴 double[]

TryParseDoubleArray() 공개 정적인 메소드

Parse string array in double array
public static TryParseDoubleArray ( this strValue, double defaultValue, bool allowDefaultConversion ) : double[]
strValue this string to parse
defaultValue double default value when default tryparse
allowDefaultConversion bool Allow default tryparse values
리턴 double[]

TryParseDoubleArray() 공개 정적인 메소드

Parse string array in double array
public static TryParseDoubleArray ( this strValue, double defaultValue, bool allowDefaultConversion, NumberStyles numberStyle, CultureInfo culture ) : double[]
strValue this string to parse
defaultValue double default value when default tryparse
allowDefaultConversion bool Allow default tryparse values
numberStyle NumberStyles number style to convert
culture System.Globalization.CultureInfo culture origin
리턴 double[]