IFormatterConverter.ToSingle(Object) 方法

定義

將值轉換為單精確度浮點數。Converts a value to a single-precision floating-point number.

public:
 float ToSingle(System::Object ^ value);
public float ToSingle (object value);
abstract member ToSingle : obj -> single
Public Function ToSingle (value As Object) As Single

參數

value
Object

要轉換的物件。The object to be converted.

傳回

已轉換的 valueThe converted value.

適用於