Java Question What means "Rect1.Left = Min(sx, X)"

klaus

Expert
Licensed User
Longtime User
As the help file says :
Min
Returns the smaller number between the two numbers.
Max Returns the larger number between the two numbers.

x = Min(V1, V2)

is the same as
If V1 > V2 Then
x = V2
Else
x = V1
End If


x = Max(V3, V4)
is the same as
If V3 > V4 Then
x = V3
Else
x = V4
End If


Best regards.
 
Last edited:
Top