Skip to content

UInt24.Sign Method ​

Definition ​

Computes the sign of a value.

c#
public static int Sign(UInt24 value);

View source

Parameters ​

NameTypeDescription
valueUInt24The value whose sign is to be computed.

Returns ​

Int32

A positive value if value is positive, 0 if value is zero, and a negative value if value is negative.