Returns a function that scales an input percentage value to an output range
Function that takes a single argument
scalePercent Calculates value
Returns a function that scales an input percentage value to an output range