Like in title said, how to find closest match between 2 numbers
Expert help needed
I have a txt file that contains lines like this...
and I have 2 textboxes with ( texbox -> Edittext )
first textbox look's like this
45.295768
second texbox
18.8512348
to separate strings in text lines I use " ; "
so basicly first line in this example ist closest match, but how I can get this line of text file ?
and when I find closest match, I need to select that whole line and insert it in texbox 3 ?
the lenght of first and second number in txt file is not smaller than xx.xxxx but it can be bigger xx.xxxxxxxx
Expert help needed
I have a txt file that contains lines like this...
B4X:
45.2722;18.847421239;023546;31052015;12;3
43.342171;17.45648532;123546;12051995;12;24
46.954171;16.154645;223546;31062022;11;6
43.132171;15.8474;023546;26111976;14;3
and I have 2 textboxes with ( texbox -> Edittext )
first textbox look's like this
45.295768
second texbox
18.8512348
to separate strings in text lines I use " ; "
so basicly first line in this example ist closest match, but how I can get this line of text file ?
and when I find closest match, I need to select that whole line and insert it in texbox 3 ?
the lenght of first and second number in txt file is not smaller than xx.xxxx but it can be bigger xx.xxxxxxxx