You are concenatingconcatenating strings in JavaScript.
Here is what happens:
var test = "he";
var test2 = "llo";
console.log(test+test2);
OUTPUTS: hello
. You are using integers as strings.
Therefore you need to convert your variables to int before adding them.
Here is an example:
highestBidAmount = parseInt(highestBidAmount, 10);
Sidenote: Don't change the 10 it has nothing to do with decimal places. It's the radix used.
Do that with both variables:
minBidIncrement = parseInt(minBidIncrement, 10);
Now add them:
let minNextBid = highestBidAmount + minBidIncrement;
Now you are adding integers so it results in: 200000000000000000