Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
        sprintf("%.2f, %.2f", 
            $triplet[($m+1)%3]/$triplet[$m],
            $triplet[($m+2)%3]/$triplet[$m]);
    
  2. or download this
    my $m = (
        $xa>$xb?
            ($xa>$xc?0:2):
            ($xb>$xc?1:2)
    );