|
|
@@ -1489,7 +1489,8 @@ public class WelcomeStudentController implements WelcomeStudentControllerAPI {
|
|
|
// BigDecimal total = new BigDecimal(enrollmentTotal);
|
|
|
// BigDecimal bedTotal = new BigDecimal(checkInBedTotal);
|
|
|
// BigDecimal bigDecimal = bedTotal.divide(total).setScale(4, BigDecimal.ROUND_HALF_UP).multiply(new BigDecimal(100));
|
|
|
- String registrationRate = String.format("%.2f", (double) (checkInBedTotal / enrollmentTotal) * 100);
|
|
|
+ Double result = ((double)checkInBedTotal / enrollmentTotal) * 100;
|
|
|
+ String registrationRate = String.format("%.2f", result);
|
|
|
|
|
|
|
|
|
LocalDateTime start = LocalDateTime.now().withHour(0).withMinute(0).withSecond(0);
|