The stupid question is the question not asked | |
PerlMonks |
Re: Normalizing a range of numbers to a percentageby hdb (Monsignor) |
on Mar 08, 2019 at 08:22 UTC ( [id://1231045]=note: print w/replies, xml ) | Need Help?? |
For such a simple translation it might be overkill but you could also use an interpolation module such as Math::Interpolate for the translation.
In Section
Seekers of Perl Wisdom
|
|