Hi,
I need to List a number in a listbox if the number is closer to another number.
Eg. Num1 = 98
Num2 =100
If 'num1 is close to num2' Then
Listbox1.Items.Add(num1)
End If
Please Help Me.
Thanks.
Hi,
I need to List a number in a listbox if the number is closer to another number.
Eg. Num1 = 98
Num2 =100
If 'num1 is close to num2' Then
Listbox1.Items.Add(num1)
End If
Please Help Me.
Thanks.
closer compared to what?
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.