Kotlin mengubah dapat diedit ke int

int x = Integer.parseInt(R2.getText().toString());
HRZP