# Base Parameter rounding?

#### Doktor_Q

##### I'm not a real doktor, but I am a real Q
How does MV handle rounding on base parameters? Does it truncate it off, or does it actually round to the nearest whole?

For example,
if I have a defense of 1 and I multiply it by 150% with a status (result of 1.5), will the game treat it as a 1 or a 2?
What if I have a defense of 2 and I multiply it by 66% (for a result of ~1.33)?

#### Andar

##### Veteran
integers and similiar numbers are usually truncated, 1.8 -> 1
however, it depends on the exact formula because of the way the function works, especially if using control variable command.

#### MushroomCake28

##### KAMO Studio
If I recall correctly, it's an integer, meaning no decimal. However, the way it is calculated does take in consideration decimals, it just rounds it up after calculation. Meaning every level doesn't add something, but will rather result in a new calculation. Something like this:

Physical Attack = Base Stat + Growth * (level - 1)

If base stat = 10
growth = 2.7
level = 15

Then Physical Attack = 10 + 2.7 * 14 = 47.8
which would make it 47 (or 48, depending on if it rounds or it floors the value).

#### Doktor_Q

##### I'm not a real doktor, but I am a real Q
integers and similiar numbers are usually truncated, 1.8 -> 1
however, it depends on the exact formula because of the way the function works, especially if using control variable command.

I'm specifically looking at the case of base parameters (stats) being controlled with a trait (from equipment, status effects, class, etc.)

### Latest Profile Posts

Still early in development but feel like I'm hitting a wall. Either I can't find plugins to do what I need, or they're paywalled :/

Tivadar will help you travel to distant places in Eniko: Ghosts Of Grace

Finally done with the school project, here's the raw video of it.