Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MathHelper.Max Method

Returns the greater of two values.

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

public static float Max (
         float value1,
         float value2
)

Parameters

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

Return Value

The greater value.
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.