Round a formula

Hello guys, I would like to know how to round this formula:

$gameParty.members().forEach(function(m){
m.gainHp(0.15*(m.mhp));
m.gainMp(0.15*(m.mmp));
});

I´m getting 0,5 numbers somethimes...

I tried
$gameParty.members().forEach(function(m){
Math.ceil(m.gainHp(0.15*(m.mhp)));
Math.ceil(m.gainMp(0.15*(m.mmp)));
});

but nothing happened...

Please I need some help!

Thank you very much in advance!
​
The format is "m.gainHp(number here)", so putting your rounding on the outside isn't going to do anything. Try "m.gainHp(Math.ceil(0.15 * m.mhp))" instead.
Perfect! Thank you very much!
It's better to use Math.round or Math.floor imo, but Math.ceil also works.

Original thread: https://forums.rpgmakerweb.com/threads/round-a-formula.107468/