in reply to (boo)Re: Re: Closest-value-in-list Golf -- or, a sorted affair.
in thread Closest-value-in-list Golf!

Test your code...

that does not work... I tried it already... returns 20
                - Ant

  • Comment on Re: (boo)Re: Re: Closest-value-in-list Golf -- or, a sorted affair.

Replies are listed 'Best First'.
Re: Re: (boo)Re: Re: Closest-value-in-list Golf -- or, a sorted affair.
by boo_radley (Parson) on May 29, 2001 at 19:00 UTC
    How strange. I was using a different data set when I tested this, and it returned the correct answer.

    Mea culpa.

      Must be the decimals or something... I thought it would work, too
                      - Ant