Represents a four-byte, single precision, floating point number.
[Visual Basic] Public Structure Single Implements IComparable, IFormattable, IConvertible [C#] public struct Single : IComparable, IFormattable, IConvertible [C++] public __value struct Single : public IComparable, IFormattable, IConvertible
[JScript] In JScript, you can use the structures in the NGWS frameworks, but you cannot define your own.
Single is a value type that can represent numbers in the range negative 3.402823E38 through positive 3.402823E38, inclusive. The Single type represents single precision 32-bit IEEE 754 value. The Common Language Specification (CLS) supports primitive types, including Single.
This class provides some basic coercions:
These widening coercions result in no loss in precision of magnitude. Note that programming languages are free to provide coercions that extend or differ from these.
Single provides methods for dealing with PositiveInfinity and NegativeInfinity and expressions that evaluate to not a number (NaN).
Namespace: System
Assembly: mscorlib.dll
Single Members | System Namespace | IComparable | IFormattable | IConvertible