Skip to content

Latest commit

 

History

History
251 lines (238 loc) · 16.9 KB

T_EgonsoftHU_Extensions_Bcl_NumberExtensions.md

File metadata and controls

251 lines (238 loc) · 16.9 KB

NumberExtensions Class

This class contains extension methods that are available for .NET numeric types: SByte, Int16, Int32, Int64, Byte, UInt16, UInt32, UInt64, Half, Single, Double, Decimal

Definition

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

C#

public static class NumberExtensions

VB

<ExtensionAttribute>
Public NotInheritable Class NumberExtensions
InheritanceObject → NumberExtensions

Methods

IsInRange(Byte, Byte, Byte, IntervalBoundsOptions) Indicates whether the specified Byte value is in the specified interval.
IsInRange(Decimal, Decimal, Decimal, IntervalBoundsOptions) Indicates whether the specified Decimal value is in the specified interval.
IsInRange(Double, Double, Double, IntervalBoundsOptions) Indicates whether the specified Double value is in the specified interval.
IsInRange(Half, Half, Half, IntervalBoundsOptions) Indicates whether the specified Half value is in the specified interval.
IsInRange(Int16, Int16, Int16, IntervalBoundsOptions) Indicates whether the specified Int16 value is in the specified interval.
IsInRange(Int32, Int32, Int32, IntervalBoundsOptions) Indicates whether the specified Int32 value is in the specified interval.
IsInRange(Int64, Int64, Int64, IntervalBoundsOptions) Indicates whether the specified Int64 value is in the specified interval.
IsInRange(SByte, SByte, SByte, IntervalBoundsOptions) Indicates whether the specified SByte value is in the specified interval.
IsInRange(Single, Single, Single, IntervalBoundsOptions) Indicates whether the specified Single value is in the specified interval.
IsInRange(UInt16, UInt16, UInt16, IntervalBoundsOptions) Indicates whether the specified UInt16 value is in the specified interval.
IsInRange(UInt32, UInt32, UInt32, IntervalBoundsOptions) Indicates whether the specified UInt32 value is in the specified interval.
IsInRange(UInt64, UInt64, UInt64, IntervalBoundsOptions) Indicates whether the specified UInt64 value is in the specified interval.
IsNegative(Byte) Determines if a value represents a negative real number.
IsNegative(Decimal) Determines if a value represents a negative real number.
IsNegative(Double) Determines if a value represents a negative real number.
IsNegative(Half) Determines if a value represents a negative real number.
IsNegative(Int16) Determines if a value represents a negative real number.
IsNegative(Int32) Determines if a value represents a negative real number.
IsNegative(Int64) Determines if a value represents a negative real number.
IsNegative(SByte) Determines if a value represents a negative real number.
IsNegative(Single) Determines if a value represents a negative real number.
IsNegative(UInt16) Determines if a value represents a negative real number.
IsNegative(UInt32) Determines if a value represents a negative real number.
IsNegative(UInt64) Determines if a value represents a negative real number.
IsNegativeOrZero(Byte) Determines if a value is zero or represents a negative real number.
IsNegativeOrZero(Decimal) Determines if a value is zero or represents a negative real number.
IsNegativeOrZero(Double) Determines if a value is zero or represents a negative real number.
IsNegativeOrZero(Half) Determines if a value is zero or represents a negative real number.
IsNegativeOrZero(Int16) Determines if a value is zero or represents a negative real number.
IsNegativeOrZero(Int32) Determines if a value is zero or represents a negative real number.
IsNegativeOrZero(Int64) Determines if a value is zero or represents a negative real number.
IsNegativeOrZero(SByte) Determines if a value is zero or represents a negative real number.
IsNegativeOrZero(Single) Determines if a value is zero or represents a negative real number.
IsNegativeOrZero(UInt16) Determines if a value is zero or represents a negative real number.
IsNegativeOrZero(UInt32) Determines if a value is zero or represents a negative real number.
IsNegativeOrZero(UInt64) Determines if a value is zero or represents a negative real number.
IsPositive(Byte) Determines if a value represents (positive) zero or a positive real number.
IsPositive(Decimal) Determines if a value represents (positive) zero or a positive real number.
IsPositive(Double) Determines if a value represents (positive) zero or a positive real number.
IsPositive(Half) Determines if a value represents (positive) zero or a positive real number.
IsPositive(Int16) Determines if a value represents (positive) zero or a positive real number.
IsPositive(Int32) Determines if a value represents (positive) zero or a positive real number.
IsPositive(Int64) Determines if a value represents (positive) zero or a positive real number.
IsPositive(SByte) Determines if a value represents (positive) zero or a positive real number.
IsPositive(Single) Determines if a value represents (positive) zero or a positive real number.
IsPositive(UInt16) Determines if a value represents (positive) zero or a positive real number.
IsPositive(UInt32) Determines if a value represents (positive) zero or a positive real number.
IsPositive(UInt64) Determines if a value represents (positive) zero or a positive real number.
IsPositiveOrZero(Byte) Determines if a value represents zero or a positive real number.
IsPositiveOrZero(Decimal) Determines if a value represents zero or a positive real number.
IsPositiveOrZero(Double) Determines if a value represents zero or a positive real number.
IsPositiveOrZero(Half) Determines if a value represents zero or a positive real number.
IsPositiveOrZero(Int16) Determines if a value represents zero or a positive real number.
IsPositiveOrZero(Int32) Determines if a value represents zero or a positive real number.
IsPositiveOrZero(Int64) Determines if a value represents zero or a positive real number.
IsPositiveOrZero(SByte) Determines if a value represents zero or a positive real number.
IsPositiveOrZero(Single) Determines if a value represents zero or a positive real number.
IsPositiveOrZero(UInt16) Determines if a value represents zero or a positive real number.
IsPositiveOrZero(UInt32) Determines if a value represents zero or a positive real number.
IsPositiveOrZero(UInt64) Determines if a value represents zero or a positive real number.
IsZero(Byte) Determines if a value is zero.
IsZero(Decimal) Determines if a value is zero.
IsZero(Double) Determines if a value is zero.
IsZero(Half) Determines if a value is zero.
IsZero(Int16) Determines if a value is zero.
IsZero(Int32) Determines if a value is zero.
IsZero(Int64) Determines if a value is zero.
IsZero(SByte) Determines if a value is zero.
IsZero(Single) Determines if a value is zero.
IsZero(UInt16) Determines if a value is zero.
IsZero(UInt32) Determines if a value is zero.
IsZero(UInt64) Determines if a value is zero.

See Also

Reference

EgonsoftHU.Extensions.Bcl Namespace