Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio .NET
Reference
Data Types
 Single Data Type

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
Visual Basic Language Reference
Single Data Type

Single variables are stored as signed IEEE 32-bit (4-byte) single-precision floating-point numbers ranging in value from -3.4028235E+38 through -1.401298E-45 for negative values and from 1.401298E-45 through 3.4028235E+38 for positive values. Single-precision numbers store an approximation of a real number.

Note   The Single data type can be converted to the Double or Decimal data type without encountering a System.OverflowException error.

Appending the literal type character F to a literal forces it to the Single data type. Appending the identifier type character ! to any identifier forces it to Single.

The equivalent .NET data type is System.Single.

See Also

Data Type Summary | Single Structure | Double Data Type | Type Conversion Functions | Conversion Summary | Efficient Use of Data Types

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker