Return a value based on the range between min and max and the percentage given.
min
max
A value between 0 and 1 representing the percentage.
The minimum value.
Optional
The maximum value.
Return a value based on the range between
minandmaxand the percentage given.