Attendance worked_hours are rounded to an hour which is incorrect.

The fix simply calculate hours as float.

Impacted version 8.0 and above.

Repro: create sign_in and sign_out attendance entries with 1.5 hour difference.

Current: worked_hours = 1.0

Expected: worked_hours = 1.5