*Introduction*
For some reason do you want to multiply with a demical but couldn't because RM isn't friendly with decimals? Well now you can with this easy guide!
*Process*
First, you'll need to get the variable that you are going to multiply with (not the decimal). Create a new event and make a new variable command that multiplies it the variable by 10 (you might want to create a back-up variable for this so that you don't lose the original variable). Now without doing anything on RM, multiply the decimal you're thinking of by 10 (ex. .5 x 10 = 5). Use the previous variable and multiply it with the decimal. After, divide it by 100 and you should get your result!
Example:
356 [Variable], 2 [Decimal]
356 x 10 = 3,560
.2 x 10 = 2
3,560 x 2 =71,200
71,200 / 100 = 71.2
The result will show up as 71 (rounds the the nearest whole number) but you still got 20% of 356 using this method.
*How it Works*
In math, you move the decimal over until it reaches a whole number before dividing. You can do the same before you're multiplying and then divide it by the same amount you moved for both numbers to get the answer without multiplying in decimal form.
*What's the Point?*
Well, if you want reasons why this is useful, here are some:
Percentage-You can do something that involves percentages (ex. Make items that heal 30% of your HP like the Tales series).
Calculation-You can use it for custom battle systems where you create your own battle algorithms with decimals (ex. critical hits are 1.5x more)
*Note*
You can also multiply by a decimal in the tenths place or hundredths place. You would have to increase the amount of 0s and also keep in mind that RM is limited to 7 digits so it's best to keep the numbers low.
End of the tutorial. Enjoy!