Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Min Method

MathHelper.Min Method

Returns the lesser of two values.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public static float Min (
         float value1,
         float value2
)

Parameters

value1
Type: Single
Source value.
value2
Type: Single
Source value.

Return Value

The lesser value.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

ADD
Show:
© 2015 Microsoft