C# 클래스 DevUtils.PrimitivesExtensions.FloatExtensions

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

공개 메소드들

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

Test if string value is a valid float value

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

Test if string value is a valid float value

TryParseFloat ( this strValue ) : float

Convert float string value in float value

TryParseFloat ( this strValue, NumberStyles numberStyle, CultureInfo culture ) : float

Convert float string value in float value

TryParseFloat ( this strValue, float defaultValue ) : float

Convert float string value in float value

TryParseFloat ( this strValue, float defaultValue, NumberStyles numberStyle, CultureInfo culture ) : float

Convert float string value in float value

TryParseFloat ( this strValue, float defaultValue, bool allowZero ) : float

Convert float string value in float value

TryParseFloat ( this strValue, float defaultValue, bool allowZero, NumberStyles numberStyle, CultureInfo culture ) : float

Convert float string value in float value

TryParseFloatArray ( this strValue ) : float[]

Parse string array in short float

TryParseFloatArray ( this strValue, NumberStyles numberStyle, CultureInfo culture ) : float[]

Parse string array in float array

TryParseFloatArray ( this strValue, float defaultValue ) : float[]

Parse string array in float array

TryParseFloatArray ( this strValue, float defaultValue, NumberStyles numberStyle, CultureInfo culture ) : float[]

Parse string array in float array

TryParseFloatArray ( this strValue, float defaultValue, bool allowDefaultConversion ) : float[]

Parse string array in float array

TryParseFloatArray ( this strValue, float defaultValue, bool allowDefaultConversion, NumberStyles numberStyle, CultureInfo culture ) : float[]

Parse string array in float array

메소드 상세

IsValidFloat() 공개 정적인 메소드

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

IsValidFloat() 공개 정적인 메소드

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

TryParseFloat() 공개 정적인 메소드

Convert float string value in float value
public static TryParseFloat ( this strValue ) : float
strValue this string to convert
리턴 float

TryParseFloat() 공개 정적인 메소드

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

TryParseFloat() 공개 정적인 메소드

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

TryParseFloat() 공개 정적인 메소드

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

TryParseFloat() 공개 정적인 메소드

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

TryParseFloat() 공개 정적인 메소드

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

TryParseFloatArray() 공개 정적인 메소드

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

TryParseFloatArray() 공개 정적인 메소드

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

TryParseFloatArray() 공개 정적인 메소드

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

TryParseFloatArray() 공개 정적인 메소드

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

TryParseFloatArray() 공개 정적인 메소드

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

TryParseFloatArray() 공개 정적인 메소드

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