## Decimal Struct in C#

In C#, Decimal Struct class is used to represent a decimal floating-point number. The range of decimal numbers is +79,228,162,514,264,337,593,543,950,335 to -79,228,162,514,264,337,593,543,950,335. Due to its… Read More »

## Decimal.Subtract() Method in C#

This method is used to subtract the one specified Decimal value from another. Syntax: public static decimal Subtract (decimal a1, decimal a2); Parameters: a1: This… Read More »

## Decimal.ToSingle() Method in C#

This method is used to convert the value of the specified Decimal to the equivalent single-precision floating-point number. This method can produce round-off errors as… Read More »

## Decimal.ToSByte() Method in C#

This method is used to convert the value of the specified Decimal to the equivalent 8-bit signed integer. A user can also convert a Decimal… Read More »

## Decimal.Remainder() Method in C#

This method is used to compute the remainder when the division is done between two specified decimal values. Syntax: public static decimal Remainder (decimal a1,… Read More »

## Decimal.ToInt16() Method in C#

This method is used to convert the value of the specified Decimal to the equivalent 16-bit signed integer. A user can also convert a Decimal… Read More »

## Decimal.ToDouble() Method in C#

This method is used to convert the value of the specified Decimal to the equivalent double-precision floating-point number. This method can produce round-off errors as… Read More »

## Decimal.ToInt64() Method in C#

This method is used to convert the value of the specified Decimal to the equivalent 64-bit signed integer. A user can also convert a Decimal… Read More »

## Decimal.Divide() Method in C#

This method is used to divide the two specified decimal values. Syntax: public static decimal Divide (decimal a1, decimal a2); Parameters: a1: This parameter specifies… Read More »

## Decimal.ToByte() Method in C#

This method is used to converts the value of the specified Decimal to the equivalent 8-bit unsigned integer. Syntax: public static byte ToByte (decimal a);… Read More »

## Decimal.Negate() Method in C#

This method is used to get the result of multiplying the specified Decimal value by negative one. Syntax: public static decimal Negate (decimal a); Parameter:… Read More »

## Decimal.ToInt32() Method in C#

This method is used to convert the value of the specified Decimal to the equivalent 32-bit signed integer. A user can also convert a Decimal… Read More »

## Decimal.Add() Method in C#

This method is used to add two specified decimal values. Syntax: public static decimal Add (decimal a1, decimal a2); Parameters: a1: This parameter specifies the… Read More »

## Decimal.Floor() Method in C#

This method is used to round the decimal to the closest integer toward negative infinity. Syntax: public static decimal Floor (decimal d); Parameter: d: This… Read More »

## Decimal.Multiply() Method in C#

This method is used to multiply two specified decimal values. Syntax: public static decimal Multiply (decimal a1, decimal a2); Parameters: a1: This parameter specifies the… Read More »