In a dialog box that I made in my Angular project, a field is present to enter duration in hours and minutes. This duration is accepting decimal values too for hours and mi