Double

Description

The Double class represents numbers with double precision with floating point.

Properties of the Double Class

  Property name Brief description
The Epsilon property returns the minimum positive value of a non-zero real number.
The MaxValue property returns the maximum value of the Double type.
The MinValue property returns the minimum value of the Double type.
The NaN property returns a fixed non-numeric value of the Double type.
The NegativeInfinity property returns a value that is equivalent to negative infinity.
The PositiveInfinity property returns the value that is equivalent to positive infinity.

Methods of the Double Class

  Method name Brief description
The Ceiling method rounds up a real value to an integer. Executing the example results in a real value.
The CeilingInt method rounds up a real number to an integer. Executing the example results in an integer value.
The Compare method compares two real numbers without taking into account precision.
The Equals method compares and returns whether two real numbers are equal.
The Floor method rounds down a real value to an integer. Executing the example results in a real value.
The FloorInt method rounds down a real value to an integer. Executing the example results in an integer value.
The IsInfinity method checks if the value of the variable is equivalent to positive or negative infinity.
The IsNaN method checks if the value of the variable is equal to a fixed non-numeric value.
The IsNegativeInfinity method checks if the variable value is equal to negative infinity.
The IsPositiveInfinity method checks if the variable value is equal to positive infinity.
The Parse method converts a string value to the Double type without validation.
The Round method rounds a real value to an integer. Executing the example results in a real value.
The RoundInt method rounds a real value to an integer. Executing the example results in an integer value.
The TryParse method converts a string value into the Double type with validation.

Properties of Variables of the Double Type

  Property name Brief description
The ToString property returns the value of the current variable converted into string type.

See also:

System Assembly Classes