The problem of converting java strings into integers
Integer.paresInt () converts a string into an integer, and there is a "."when 1.25 is converted. This value is not an integer. So an exception will be thrown.
Double. Double.parseDouble (): Converts a string to a floating-point number.