[]
        
(Showing Draft Content)

C1.Util.DX.DXUtil.IsOne

IsOne Method

IsOne(float)

Determines whether the specified value is close to one (1.0f).

Declaration
public static bool IsOne(float a)
Public Shared Function IsOne(a As Single) As Boolean
Parameters
Type Name Description
float a

The floating value.

Returns
Type Description
bool

true if the specified value is close to one (1.0f); otherwise, false.