Whetstone Class reference
Whetstone Class reference
Whetstone
NumberStone
unsignedDiff Class
unsignedDiff Methods
UnsignedDiff Method
UnsignedDiff Method (Byte, Byte)
UnsignedDiff Method (UInt16, UInt16)
UnsignedDiff Method (UInt32, UInt32)
UnsignedDiff Method (UInt64, UInt64)
unsignedDiff
UnsignedDiff Method (UInt32, UInt32)
Get the absolute difference between two numbers.
Namespace:
NumberStone
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
uint
UnsignedDiff
(
this
uint
this
,
uint
other
)
Parameters
this
Type:
System
UInt32
The first number.
other
Type:
System
UInt32
The second number.
Return Value
Type:
UInt32
The absolute difference between
this
and
other
.
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)
.
See Also
Reference
unsignedDiff Class
UnsignedDiff Overload
NumberStone Namespace