in reply to Re: Find range in coordinates array (updated)
in thread Find range in array with indices
Thank you so much. This is such a beautiful implementation!
It works very well if my search value has only 2 digits after the ".". I cannot match anything if I search for the following value with 3 digits after the "." (sorry I haven't specified the forms it can take). Is it possible to make your solution more flexible in terms of number of digits?
my $input = 7.255;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Find range in coordinates array
by haukex (Archbishop) on Oct 01, 2019 at 18:29 UTC | |
by IB2017 (Pilgrim) on Oct 01, 2019 at 20:40 UTC | |
by haukex (Archbishop) on Oct 02, 2019 at 08:16 UTC |