Redigera

Dela via


NFloat Constructors

Definition

Overloads

NFloat(Double)

Constructs an instance from a 64-bit floating point value.

NFloat(Single)

Constructs an instance from a 32-bit floating point value.

NFloat(Double)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Constructs an instance from a 64-bit floating point value.

public:
 NFloat(double value);
public NFloat (double value);
new System.Runtime.InteropServices.NFloat : double -> System.Runtime.InteropServices.NFloat
Public Sub New (value As Double)

Parameters

value
Double

The floating-point value.

Applies to

NFloat(Single)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Constructs an instance from a 32-bit floating point value.

public:
 NFloat(float value);
public NFloat (float value);
new System.Runtime.InteropServices.NFloat : single -> System.Runtime.InteropServices.NFloat
Public Sub New (value As Single)

Parameters

value
Single

The floating-point value.

Applies to