esolutionsone / timesheet-app

A button component for logging to and representing entries on a timesheet table
1 stars 1 forks source link

Can't add decimal numbers to week view #108

Closed Freddyreza53 closed 2 years ago

Freddyreza53 commented 2 years ago

whole numbers can be added and subtracted but when you add or take away a decimal, it reverts back to its original number. ex: current input box has value 0.25 and you add 1 hour to it, it will work and save as 1.25. now if you add .50 to the current 1.25 hours, then it should be 1.75 but instead it reverts back to the original 0.25.... weird. I think it isn't converting the number weirdly