Метод | Описание | |
---|---|---|
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
|
public static getDoubleFromString ( String val ) : double? | ||
val | String | The string representing a double |
Результат | double? |
public static getIntFromString ( String val ) : int? | ||
val | String | The String value representing an int |
Результат | int? |