change the insert data type from string to integer or float

You can use "int".equals(...)