YEP. Message Eval Text

Hello,

I use this formula: \evalText<<<($gameActors.actor(4).mdf + 10) + Math.pow($gameActors.actor(4).level, 0.1) / 10>> in the description of the skill.

But there are too many decimal places and I would like to round the figure up but I don't know how to do it.

Annotation 2019-03-28 142152.jpg

If anyone has an idea?

Thank you.
You could try Math.ceil, which rounds up to the nearest integer:
Code:
\evalText<<Math.ceil(($gameActors.actor(4).mdf + 10) + Math.pow($gameActors.actor(4).level, 0.1) / 10)>>
It works.

Thank you very much.

Original thread: https://forums.rpgmakerweb.com/threads/yep-message-eval-text.107336/