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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk