Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 2.15 KB

M_EgonsoftHU_Extensions_Bcl_NumberExtensions_IsNegative_9.md

File metadata and controls

55 lines (35 loc) · 2.15 KB

IsNegative(UInt32) Method

Determines if a value represents a negative real number.

Definition

Namespace: EgonsoftHU.Extensions.Bcl
Assembly: EgonsoftHU.Extensions.Bcl (in EgonsoftHU.Extensions.Bcl.dll) Version: 3.0.1+8c729d04d0fcab10705485e5626d4fdebeaa818d

C#

public static bool IsNegative(
	this uint value
)

VB

<ExtensionAttribute>
Public Shared Function IsNegative ( 
	value As UInteger
) As Boolean

Parameters

  UInt32
The value to be checked.

Return Value

Boolean
true if value represents negative zero or a negative real number; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UInt32. When you use instance method syntax to call this method, omit the first parameter. For more information, see

Extension Methods (Visual Basic) or

Extension Methods (C# Programming Guide).

Remarks

If this type has signed zero, then -0 is also considered negative.

This function returning false does not imply that IsPositive(UInt32) will return true.

See Also

Reference

NumberExtensions Class
IsNegative Overload
EgonsoftHU.Extensions.Bcl Namespace