enemyHP = 40 + random(20);
that should give you round number.
but if that doesn't work,
enemyHP = Math.round(40 + random(20));