System.ComponentModel.SingleConverter Class

Provides a type converter to convert single-precision, floating point number objects to and from various other representations.

See Also: SingleConverter Members

Syntax

public class SingleConverter : BaseNumberConverter

Remarks

This converter can only convert a single-precision, floating point number object to and from a string. The float value type represents a single-precision 32-bit number with values ranging from negative 3.402823e38 to positive 3.402823e38.

Note:

You should never create an instance of System.ComponentModel.SingleConverter. Instead, call the TypeDescriptor.GetConverter(object) method of System.ComponentModel.TypeDescriptor. For more information, see the examples in the System.ComponentModel.TypeConverter base class and How to: Implement a Type Converter.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0