remainder = num1.toInt() % num2.toInt(); // Calculate the remainder from the division operation using the "%" operator