Hi,
I hope you could help me.
I have an array of 10000 generated values and I would like to search the array like the Excel match function. I have looked at the following post and tried to implement it without success, I get strange values back:
https://coderanch.com/t/531662/java/java/Array-function-similar-Excel-Match
I would like to do the same but with decimal values. I.e. if a value is not found in the array, return the closest value.
My Code:
I also tried the following:
Many thanks for your help in advance.
Regards
Richard