C# Class BrrrBayBay.PwmGUIControl.Utils

Contains all sorts of functionality
Afficher le fichier Open project: joosthaverkort/PWMLogic

Méthodes publiques

Méthode Description
getDoubleFromString ( String val ) : double?

Converts a string to a double. Returns null if the string value is invalid

getIntFromString ( String val ) : int?

Returns the int value contained in the string. Returns null if the int was invalid

Method Details

getDoubleFromString() public static méthode

Converts a string to a double. Returns null if the string value is invalid
public static getDoubleFromString ( String val ) : double?
val String The string representing a double
Résultat double?

getIntFromString() public static méthode

Returns the int value contained in the string. Returns null if the int was invalid
public static getIntFromString ( String val ) : int?
val String The String value representing an int
Résultat int?