So, I'm making a game using VisustellaMZ's Elements and Status Core plugin, and made custom stats. The ones highlighted in the image are basically target rate * 10, guard effect * 10, and pharmacology * 10 respectively.
Now, this character has 10(1) target presence, 16.2(1.62) stability, and 10(1) medicine. But as you can see, decimals are not displayed in the second stat😅. I would like it to. In fact, i would like for every stat in this third column to show 1 decimal. It would display 10.0, 16.2, and 10.0 respectively. This is because they are typed as an Integer. However, when i type them as a float the values returned are 1000%, 1620%, and 1000%.
If anyone knows a way to "fix" this, i would really appreciate some help, thanks in advance🙏
Here's the JS code used for these stats(although again, normally I'd use the Float type):
Now, this character has 10(1) target presence, 16.2(1.62) stability, and 10(1) medicine. But as you can see, decimals are not displayed in the second stat😅. I would like it to. In fact, i would like for every stat in this third column to show 1 decimal. It would display 10.0, 16.2, and 10.0 respectively. This is because they are typed as an Integer. However, when i type them as a float the values returned are 1000%, 1620%, and 1000%.
If anyone knows a way to "fix" this, i would really appreciate some help, thanks in advance🙏
Here's the JS code used for these stats(although again, normally I'd use the Float type):