in reply to Normalizing a range of numbers to a percentage

That is the right math to map from 0-255 to 0-100, and has been made properly generic to handle different ranges (for example, if you sometime wanted to use a 16b instead of 8b)

  • Comment on Re: Normalizing a range of numbers to a percentage

Replies are listed 'Best First'.
Re^2: Normalizing a range of numbers to a percentage
by stevieb (Canon) on Mar 07, 2019 at 23:12 UTC