NFloat Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.