hi all i need a javascript to do this calculatioon for me
1000 + 1000 - 10% = 1900
i have this for calculation, working example
<p id="demo"></p>
<script>
var x = 1000 + 1000 - 10 ;
document.getElementById("demo").innerHTML = x;
</script>
but i cant introduce the % behind the 10 it doesnt work