In my game, I have a power meter. This meter ranges from 0 - 1. When the meter is released, I get that number. This can be a number like 0.34 or 0.98. After that, I multiply by 100 and in the end, get a number between 0 and 100. It doesn’t matter really.

Now, I have no clue how else to word this title but hear me out:

**Say I get a number like 64. The minimum force that can be applied to an object being thrown in my game is 50. The max is 100. So, how could I get 64% of inbetween the two numbers?**

Think of it kinda like a progress bar. The bar goes something like this:

**[50 - - - - - - - - - - - - - - - - - 100]**

In that progress bar, I want to get 64% of the way there. What number would that be?

```
local max = 100
local min = 50
local power = 64
-- How can I get 64% of the way from 50 to 100?
```

TLDR: How can I get 64% of the way from 50 to 100? How can I get that number?