asp.net.ph

Single Structure

System Namespace


Represents a single-precision floating point number.

Single Class Members

Collapse   Fields

Visibility Name Type
public static const Epsilon Single
public static const MaxValue Single
public static const MinValue Single
public static const NaN Single
public static const NegativeInfinity Single
public static const PositiveInfinity Single

Collapse   Methods

Visibility Name Parameters Return Type
public CompareTo ( Object value ) Int32
public CompareTo ( Single value ) Int32
public Equals ( Object obj ) Boolean
public Equals ( Single obj ) Boolean
public GetHashCode ( ) Int32
public GetTypeCode ( ) TypeCode
public static IsInfinity ( Single f ) Boolean
public static IsNaN ( Single f ) Boolean
public static IsNegativeInfinity ( Single f ) Boolean
public static IsPositiveInfinity ( Single f ) Boolean
public static Parse ( String s , NumberStyles style ) Single
public static Parse ( String s , IFormatProvider provider ) Single
public static Parse ( String s , NumberStyles style , IFormatProvider provider ) Single
public static Parse ( String s ) Single
public ToString ( IFormatProvider provider ) String
public ToString ( ) String
public ToString ( String format , IFormatProvider provider ) String
public ToString ( String format ) String
public static TryParse ( String s , Single& result ) Boolean
public static TryParse ( String s , NumberStyles style , IFormatProvider provider , Single& result ) Boolean

Remarks

The Single value type represents a single-precision 32-bit number with values ranging from negative 3.402823e38 to positive 3.402823e38, as well as positive or negative zero, PositiveInfinity, NegativeInfinity, and Not-a-Number ( NaN ).

Single complies with the IEEE 754 standard for binary floating-point arithmetic.

Single provides methods to compare instances of this type, convert the value of an instance to its String representation, and convert the String representation of a number to an instance of this type.

For information about how format specification codes control the String representation of value types, see Formatting Base Types.

This type implements interfaces IComparable, IFormattable, and IConvertible. Use the Convert class for conversions instead of this type's explicit interface member implementation of IConvertible.

Skip Navigation Links



Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph