EsbDecimals - a Free Subset of ESBPCS for .NET

DecimalOps Methods

The methods of the DecimalOps class are listed below. For a complete list of DecimalOps class members, see the DecimalOps Members topic.

Public Static (Shared) Methods

AcosOverloaded. Computes the angle (in Radians) that resulted in this Cosine Value using Asin. Thus computing the inverse cosine or arccos.Methods for decimal and double Parameters. Integer Parameters don't make a lot of sense when values are between -1 and 1.
AcosDegOverloaded. Computes the Inverse Cosine returning the Angle in Degrees. Uses Acos.Methods for decimal and double Parameters. Integer Parameters don't make a lot of sense when values are between -1 and 1.
AdjustAngleDegOverloaded. Adjust the Angle so that it reduced to an equivalent angle within a smaller range of values. Works in Degrees.Methods for decimal, double and int Parameters. Also their are overloaded versions that allow whether you want the angle reduced to a postive angle or not.
AdjustAngleRadOverloaded. Adjust the Angle so that it reduced to an equivalent angle within a smaller range of values. Works in Radians.Methods for decimal, double and int Parameters. Also their are overloaded versions that allow whether you want the angle reduced to a postive angle or not.
AsinOverloaded. Computes the angle (in Radians) that resulted in this Sine Value using Series Expansion. Thus computing the inverse sine or arcsin.Methods for decimal and double Parameters. Integer Parameters don't make a lot of sense when values are between -1 and 1.
AsinDegOverloaded. Computes the Inverse Sine returning the Angle in Degrees. Uses Asin.Methods for decimal and double Parameters. Integer Parameters don't make a lot of sense when values are between -1 and 1.
AtanOverloaded. Computes the angle (in Radians) that resulted in this Tangent Value using Series Expansion. Thus computing the inverse tangent or arctan.Methods for decimal, double and int Parameters.If you want to cover all quadrants then you may want to use Atan2
Atan2Overloaded. Computes the angle (in Radians) that resulted in this Tangent value of y / x using Atan. Thus computing the inverse tangent or arctan.Methods for decimal, double and int Parameters.
Atan2DegOverloaded. Computes the Inverse Tangent, where the Tangent is y /x, returning the Angle in Degrees. Uses Atan2.Methods for decimal, double and int Parameters.
AtanDegOverloaded. Computes the Inverse Tangent returning the Angle in Degrees. Uses Atan.Methods for decimal, double and int Parameters.
CeilingOverloaded. Returns the Integral Value that is greater than or equal to the specified number.Methods for decimal and double parameters included.
CosOverloaded. Computes the Cosine of the given angle (in Radians) using Series Expansion.Methods for decimal, double and int Parameters.If you need both Sine and Cosine then SinCos.
CosDegOverloaded. Computes the Cosine of the Angle, given the Angle in Degrees, using Cos.Methods for decimal, double and int Parameters.
CosecOverloaded. Computes the Cosecant of the given angle (in Radians) using .Methods for decimal, double and int Parameters.
CosecDegOverloaded. Computes the Cosecant of the given angle (in Degrees) using .Methods for decimal, double and int Parameters.
CotOverloaded. Computes the Cotangent of the given angle (in Radians) using SinCos.Methods for decimal, double and int Parameters.
CotDegOverloaded. Computes the Cotangent of the given angle (in Degrees) using SinCos.Methods for decimal, double and int Parameters.
Deg2DmsOverloaded. Converts a Decimal Degree into Degrees/Minutes/Seconds. Returned values are positive with Sign containing the Sign of the original value.Methods for decimal and double Parameters.
Deg2GradOverloaded. ConvertsDegrees into Grads to almost full accuracy.Methods for decimal, double and int Parameters.
Deg2RadOverloaded. Converts Degrees into Radians to almost full accuracy.Methods for decimal, double and int Parameters.
Dms2DegOverloaded. Converts Degrees/Minutes/Seconds into Decimal Degrees.Methods for decimal, double and int Parameters.
ExpOverloaded. Computes the Exponential Function using Series Expansion to almost full accuracy.Methods for decimal, double and int Parameters.
FractionPartOverloaded. Returns the Fractional portion of the value supplied.Methods for decimal and double parameters included.
Grad2DegOverloaded. Converts Grads into Degrees to almost full accuracy.Methods for decimal, double and int Parameters.
Grad2RadOverloaded. Converts Grads into Radians to almost full accuracy.Methods for decimal, double and int Parameters.
IntPartOverloaded. Returns the Integral portion of the value supplied.Methods for decimal and double parameters included.
IntPowOverloaded. Computes the value of a Decimal raised to an Integer Power.Methods for decimal, double and int Parameters.
LogOverloaded. Computes the Natural Logarithm using Series Expansion to almost full accuracy.Methods for decimal, double and int Parameters.
Log10Overloaded. Computes the Logarithm to Base 10 using Series Expansion to almost full accuracy.Methods for decimal, double and int Parameters.
Log2Overloaded. Computes the Logarithm to Base 2 using Series Expansion to almost full accuracy.Methods for decimal, double and int Parameters.
NthRootOverloaded. Computes the Decimal Nth Root using Newton's Method to almost full accuracy.Methods for decimal, double and int Parameters.
PowOverloaded. Computes the First Value raised to the power of the Second Value using Series Expansion to almost full accuracy.Methods for decimal, double and int Parameters.
Rad2DegOverloaded. Converts Radians into Degrees to almost full accuracy.Methods for decimal, double and int Parameters.
Rad2GradOverloaded. Converts Radians into Grads to almost full accuracy.Methods for decimal, double and int Parameters.
SecOverloaded. Computes the Secant of the given angle (in Radians) using .Methods for decimal, double and int Parameters.
SecDegOverloaded. Computes the Secant of the given angle (in Degrees) using .Methods for decimal, double and int Parameters.
SignXYOverloaded. Returns the FORTRAN type SIGN of the Values - basically it returns a value with the Magnitude of the First Value and the Sign of the Second Value.Methods for decimal, double and int parameters included.
SinOverloaded. Computes the Sine of the given angle (in Radians) using Series Expansion.Methods for decimal, double and int Parameters.If you need both Sine and Cosine then SinCos.
SinCosOverloaded. Computes the Sine and Cosine of the given angle (in Radians) using Series Expansion.Methods for decimal, double and int Parameters.
SinDegOverloaded. Computes the Sine of the Angle, given the Angle in Degrees, using Sin.Methods for decimal, double and int Parameters.
SqrtOverloaded. Computes the Decimal Square Root using Newton's Method to almost full accuracy.Methods for decimal, double and int Parameters.
TanOverloaded. Computes the Tangent of the given angle (in Radians) using SinCos.Methods for decimal, double and int Parameters.
TanDegOverloaded. Computes the Tangent of the Angle, given the Angle in Degrees, using Tan.Methods for decimal, double and int Parameters.
TenPowOverloaded. Computes the Specified Power of 10 using Series Expansion to almost full accuracy.Methods for decimal, double and int Parameters.
TwoPowOverloaded. Computes the Specified Power of 2 using Series Expansion to almost full accuracy.Methods for decimal, double and int Parameters.

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, 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

DecimalOps Class | Esb.Math Namespace