Help for this page

Select Code to Download


  1. or download this
    my $x = (($tap - $min) * ($new_max - $new_min) / ($max - $min)) + $new
    +_min;
    
  2. or download this
    ($tap - $min)  / ($max - $min)