First, create a variable of type double, and then create an integer variable. When creating an integer variable, add intvalue for coercion.
Variables such as stringBuilder to string, integer Array to string, String to character Array, String to integer can be forcibly converted according to the data type.