Convert.ToSingle Method

 

Converts a specified value to a single-precision floating-point number.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticToSingle(Boolean)

Converts the specified Boolean value to the equivalent single-precision floating-point number.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(Byte)

Converts the value of the specified 8-bit unsigned integer to the equivalent single-precision floating-point number.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(Char)

Calling this method always throws InvalidCastException.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(DateTime)

Calling this method always throws InvalidCastException.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(Decimal)

Converts the value of the specified decimal number to an equivalent single-precision floating-point number.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(Double)

Converts the value of the specified double-precision floating-point number to an equivalent single-precision floating-point number.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(Int16)

Converts the value of the specified 16-bit signed integer to an equivalent single-precision floating-point number.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(Int32)

Converts the value of the specified 32-bit signed integer to an equivalent single-precision floating-point number.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(Int64)

Converts the value of the specified 64-bit signed integer to an equivalent single-precision floating-point number.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(Object)

Converts the value of the specified object to a single-precision floating-point number.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(Object, IFormatProvider)

Converts the value of the specified object to an single-precision floating-point number, using the specified culture-specific formatting information.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(SByte)

Converts the value of the specified 8-bit signed integer to the equivalent single-precision floating-point number.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(Single)

Returns the specified single-precision floating-point number; no actual conversion is performed.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(String)

Converts the specified string representation of a number to an equivalent single-precision floating-point number.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(String, IFormatProvider)

Converts the specified string representation of a number to an equivalent single-precision floating-point number, using the specified culture-specific formatting information.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(UInt16)

Converts the value of the specified 16-bit unsigned integer to the equivalent single-precision floating-point number.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(UInt32)

Converts the value of the specified 32-bit unsigned integer to an equivalent single-precision floating-point number.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(UInt64)

Converts the value of the specified 64-bit unsigned integer to an equivalent single-precision floating-point number.

Return to top
Show: