Negative Zahlenfehlerbehandlung in JavaScript

const totalAmountInput = document.getElementById("Total-amount");
Famous Finch