stringToNumber()
public int stringToNumber(String str)
public double stringToNumber(String str)
This method converts a numeric string formatted according to the currently configured locale to a number. The number returned is either of type integer or of type double, depending on the input string.
This method replaces the standalone method $FormatStringToNumber()$
,
which is deprecated.