There's the "nearest" method for tabletool if you can deal with an external rather than an abstraction. <div><br></div><div><br><br>On Friday, March 6, 2015, Alexandre Torres Porres <<a href="mailto:porres@gmail.com">porres@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12.8000001907349px">I'm wondering if there's an object that can find in an array which is the closest value in the array ro an input value.<br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Say I have an array/list of <u>1.1</u> , <u>2.2</u> , <u>3.3</u>, then I give as the input the number "3" and the object outputs <b>3.3</b></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I've done this as a patch already, but I wonder if theres any solution that's "ready made".</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">thanks </div></div>
</blockquote></div><br><br>-- <br>William Brent<br><a href="http://www.williambrent.com">www.williambrent.com</a><br><br>“Great minds flock together”<br>Conflations: conversational idiom for the 21st century<br><br><a href="http://www.conflations.com">www.conflations.com</a><br>