Single Members
The Single type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
CompareTo(Single) |
Compares this instance to a specified single-precision floating-point number and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified single-precision floating-point number.
|
![]() |
CompareTo(Object) |
Compares this instance to a specified object and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified object.
|
![]() |
Equals |
Returns a value indicating whether this instance and a specified Single object represent the same value.
|
![]() |
Format(String) | |
![]() |
Format(String, IFormatProvider) | |
![]() ![]() |
IsFinite | |
![]() ![]() |
IsInfinity |
Returns a value indicating whether the specified number evaluates to negative or positive infinity.
|
![]() ![]() |
IsNaN |
Returns a value that indicates whether the specified value is not a number (NaN).
|
![]() ![]() |
IsNegativeInfinity |
Returns a value indicating whether the specified number evaluates to negative infinity.
|
![]() ![]() |
IsPositiveInfinity |
Returns a value indicating whether the specified number evaluates to positive infinity.
|
![]() ![]() |
Parse(String) |
Converts the string representation of a number to its single-precision floating-point number equivalent.
|
![]() ![]() |
Parse(String, IFormatProvider) | |
![]() |
ToExponential()()()() | |
![]() |
ToExponential(Int32) | |
![]() |
ToFixed()()()() | |
![]() |
ToFixed(Int32) | |
![]() |
ToPrecision()()()() | |
![]() |
ToPrecision(Int32) | |
![]() |
ToString(Int32) | |
![]() |
ToString(String) |
Converts the numeric value of this instance to its equivalent string representation, using the specified format.
|
![]() |
ToString(String, IFormatProvider) | |
![]() |
ToString()()()() |
Converts the numeric value of this instance to its equivalent string representation.
|
![]() |
ToString(IFormatProvider) | |
![]() ![]() |
TryParse(String, Single%) |
Converts the string representation of a number to its single-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed.
|
![]() ![]() |
TryParse(String, IFormatProvider, Single%) |
Fields
Name | Description | |
---|---|---|
![]() ![]() |
Epsilon |
Represents the smallest positive Single value that is greater than zero. This field is constant.
|
![]() ![]() |
MaxValue |
Represents the largest possible value of Single. This field is constant.
|
![]() ![]() |
MinValue |
Represents the smallest possible value of Single. This field is constant.
|
![]() ![]() |
NaN |
Represents not a number (NaN). This field is constant.
|
![]() ![]() |
NegativeInfinity |
Represents negative infinity. This field is constant.
|
![]() ![]() |
PositiveInfinity |
Represents positive infinity. This field is constant.
|