C# Class BrrrBayBay.PwmGUIControl.Utils

Contains all sorts of functionality
Mostra file Open project: joosthaverkort/PWMLogic

Public Methods

Method 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 method

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
return double?

getIntFromString() public static method

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
return int?