re: Challenge: Get Closest Number in an Array VIEW POST

VIEW FULL DISCUSSION
 

Wolfram Language!

Nearest[nums, given_num]

I knew that one day my subscription will come in handy...

code of conduct - report abuse