Is there an equivalent for getString()
that works for integers?
I have some integer values passing into a function and eventually placing in a SQLite table.
x.getString() //works for string values
works for string values, but doesn't work for integer values.
Below is my code:
Employee createdEmployee = employeeDAO.createEmployee(
address.toString(),
phoneNumber.toString(),
salary //this is an integer value and getting error
);