¿Cómo puedo obtener el valor totalBalanceAmount de getSavingsInput() que puedo poner en (AQUÍ) ?
function getSavingsInput() { let totalBalance = document.getElementById('balance') let totalBalanceAmount = parseFloat(totalBalance.value) return totalBalanceAmount; } document.getElementById('Savings').addEventListener('click',function() { let savingInput = getInput('savigns-input') // this is the another function let savingsInputAmount = parseFloat(savingInput) const savignsAmount = (HERE) % savingsInputAmount; const savedAmount = document.getElementById('saved-amount') savedAmount.innerText = savignsAmount; })