Issue with Service Package Duration Calculation

Dear [Support Team],

I hope you're doing well. I have been testing the demo of your BookingPress Service Add-on, and I noticed an issue regarding the service package functionality.

I created a service package with one service, for example, a 60-minute dry massage. I then added it to a package with 5 appointments, which totals 300 minutes. However, when I use the service for 1 hour 30 minutes, the remaining time shows as 3.5 appointments, instead of 4.

This seems to be a calculation error, and I would appreciate it if you could modify this process to ensure the remaining service time is calculated correctly.

Looking forward to your prompt assistance.