How can hide decimals in a script?

First sorry for my bad english, im not native.
I have a problem with this script:
this.changeHp($gameActors.actor(1), -0.01 * $gameActors.actor(1).mhp, false);
Is for remove a % of the hp based on the maximum of the character but this result in a decimals in the HP, how i can hide the decimals?
Sin título.png

Is for a parallel event in the character lost hp in the time
Hi there!
On the formula you used to change HP, you can use Math.floor. Like that:

this.changeHp(Math.floor($gameActors.actor(1), -0.01 * $gameActors.actor(1).mhp), false);
Hi there!
On the formula you used to change HP, you can use Math.floor. Like that:

this.changeHp(Math.floor($gameActors.actor(1), -0.01 * $gameActors.actor(1).mhp), false);
i try with the change in the code but does not work (this dont modify the hp) and i try to add the Math.floor after the this.change (Math.floor(this.changeHp...) and work normal, with canot not hide or round the decimals Q,Q
Edit:
I just realized what the error is, in the code
this.changeHp($gameActors.actor(1), -0.01 * $gameActors.actor(1).mhp, false);
"$gameActor" = the actor who have the change of hp
"-0.01....mhp" = the formula of the % remove hp
false= is if die or not
in the code you send round the decimal of the actor number 1, the first player XD. And the formula is the -0.01..., for that reason the code correct is
this.changeHp($gameActors.actor(1), Math.floor(-0.01 * $gameActors.actor(1).mhp), false);
Thanks for the help XD, you have helped me a lot to the point that this is the first message that I had to send because you have solved the other problems in other topics

Original thread: https://forums.rpgmakerweb.com/threads/how-can-hide-decimals-in-a-script.151424/