var money = prompt("Enter an amount of money");
money = parseFloat(money);
var months = prompt("Enter how long you will be investing for in months");
months = parseInt(months);
months = Math.round(months);
var interest = prompt("Enter an interest rate you would like to test your investment at");
interest = parseFloat(interest);
console.log(months);
Why does this code round down the months no matter what? What do i have to do differently?