Set the hours input in the adding/editing of the activity to a number, to restrict the data the user will input on it, the hour input is set to a number but when it is tested, the decimal point is not accepted. Added a javascript for the input to accept the decimal point, when tested, it is not working, checked for other ways for the input field to accept the decimal point, and found an attribute that can be used but found out as well that there might be a problem when another browser is used, applied this attribute and tested it, as per testing, it is now accepting a decimal point regardless if the input is .50 or 0.50. Tested it at chrome but tested it as well on firefox and Microsoft edge to make sure, and as per testing, all is good, the data is inserted successfully and the restriction is working as it should be.