diff --git a/timesheet/js/app.ts b/timesheet/js/app.ts index de51a75acf..2d4dbbb5ec 100644 --- a/timesheet/js/app.ts +++ b/timesheet/js/app.ts @@ -216,7 +216,7 @@ class TimesheetApp extends EgwApp // Clear actual value to update if it was nearly the same const old_val = parseInt(widget._oldValue) / 60; - if(Math.abs(parseFloat(quantity.value) - old_val) < 0.01) + if(Math.abs(quantity.valueAsNumber - old_val) < 0.01) { quantity.value = ""; }