Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NumberUtils Members

NumberUtils overview

Public Static (Shared) Methods

Add Adds the specified numbers.
BitwiseAnd Bitwise ANDs (&) the specified integral values.
BitwiseNot Returns the bitwise not (~) of the supplied number.
BitwiseOr Bitwise ORs (|) the specified integral values.
BitwiseXor Bitwise XORs (^) the specified integral values.
CanConvertToDecimal Determines whether the supplied number can be converted to an integer.
CanConvertToInteger Determines whether the supplied number can be converted to an integer.
CanConvertToNumber Determines whether the supplied number can be converted to a number.
CoerceTypes Coerces the types so they can be compared.
Divide Divides the specified numbers.
IsDecimal Determines whether the supplied number is a decimal number.
IsInteger Determines whether the supplied number is an integer.
IsNumber Determines whether the supplied number is of numeric type.
IsZero Is the supplied number equal to zero (0)?
Modulus Calculates remainder for the specified numbers.
Multiply Multiplies the specified numbers.
Negate Negates the supplied number.
Power Raises first number to the power of the second one.
Subtract Subtracts the specified numbers.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

NumberUtils Class | Spring.Util Namespace