Percentage with Variables

I am doing a Minimap for my Overworld. I have the image of the map set up 2x of the actual map size.
I multiplied the Player X and Player Y by 2 and it works to track my cursor where my player is.

The problem is that I want the Minimap smaller- and if I keep it 1x (same as image size- and not multiply Player X and Player Y) it's too small. So I need something in between.

How would I modify Player X and Player Y variable to be modified by a percentage so that I could get something in between 1x the size and 2x the size? 60-70% of the 2x map would be perfect, but I'm stumped with eventing that and I'm a novice with Javascript.

Any help would be greatly appreciated. Thank you!
Well, Math baby, Math, that's how you do everything.
Simple, you multiply it by 0.6 or 0.7 depending on the percentage, however, keep in mind, variables are integers, or in this case, maybe should be integers, since Player X and Player Y are integer values...but if you use javascript you might be able to change them to float but in map, since pixel are integers, you will only use the integer value.
You'll have to experiment with that, I haven't done exactly what you've done, but you don't need specifically javascript to do it, the control variables to calculate it and set it to another variable.
Thanks for the insight. I understand that I would need to multiply by a decimal. But since rpg maker can’t store decimals without JavaScript how would I execute it? I don’t know JavaScript and I don’t know how the eventing would work.. I’ve tried it but can’t get it to work.
Wherever the value is being used, you could divide the value by 100 and then whenever you write the values, multiply them by 100

So instead of needing to store a .6, store 60 instead and then wherever its used, divide it by 100 to get back .6
Thanks for the insight. I understand that I would need to multiply by a decimal. But since rpg maker can’t store decimals without JavaScript how would I execute it? I don’t know JavaScript and I don’t know how the eventing would work.. I’ve tried it but can’t get it to work.
Well, since you didn't add any of your attempts to do this, or examples of what exactly you want to do, I can't give specific examples. In the end, still everything is related to math, very basic math actually.

You mention that you want to calculate a coordinate on a reduced size of a map to show it as an indicator, this tells me you want to calculate a pixel location on the screen. Pixel coordinates are integers, doesn't have decimals, so it doesn't matter if you do it in javascript or not, result is that it needs to be in a pixel coordinate, and those are integers, so since you don't need to store decimal values, first problem solved.

Now, about multiplying by a decimal...well, if you remember your math, any decimal can be expressed into an integer values...by using division, so 60% = 0.6 = 60/100 = 6/10. So all you have to do is multiply by the percentage in integer values and then divide by 100, or if it's only in tens, a number between 1-9 divided by 10. So, this way, you don't need to use javascript that you are not familiar with, so second problem solved.

With al that, all you have to do is first, set a variable for each x coordinate in the full map, and then multiply by the integer value of the percentage you want (10%, 15%, etc) and then divide by 100, that's like three lines in the editor. Again, this depends a lot on what you want to achieve, the rest is apply it. Sorry I can't be more specific, I don't fully understand what is exactly you are trying to do with the reduced calculation.

Original thread: https://forums.rpgmakerweb.com/threads/percentage-with-variables.176733/