# VS 2008 Find Highest Number Of All?

Sep 27, 2009What is the right way to find Highest decimal number out of 10 different numbers(or more)? I made this code below, and surprisingly it doesnï¿½t work every time! All numbers are declared as decimals but some times 0.02 is a higher number then 0.11!

If n2 > (n3 And n4 And n5 And n6 And n7 And n8 And n9) Then

TextBox11.Text = n2

End If

[Code]....