You are incorrectly using the element query
document.getElementById('cQtd')
This code above you are only recovering and the variable of the DOM element, not the internal value itself.
To retrieve the numerical value of this element, you need to understand if it is an input or if the value is as text internally (internal HTML)
If it is as value, you can recover as follows:
var quantidade = Number(document.getElementById('cQtd').value)
If it is an element like a span and you want to recover the value inside it, you can use it here:
var quantidade = Number(document.getElementById('cQtd').innerText)
Example of the above use:
HTML
<span id="idSpan">123456</span>
JS
const valorDoSpan = Number(document.querySelector("#idSpan").innerText)
or
const valorDoSpan = Number(document.getElementById("idSpan").innerText)
It may also be that there is more than one element with the id price and you are changing another element, but I believe that the most likely is the recovery of that amount
NOTE: Avoid using var, prefer to use the Let or the const (depending on the need, of course)