Bagikan melalui


NFloat.CopySign(NFloat, NFloat) Metode

Definisi

Menyalin tanda nilai ke tanda nilai lain.

public:
 static System::Runtime::InteropServices::NFloat CopySign(System::Runtime::InteropServices::NFloat value, System::Runtime::InteropServices::NFloat sign) = System::Numerics::INumber<System::Runtime::InteropServices::NFloat>::CopySign;
public static System.Runtime.InteropServices.NFloat CopySign (System.Runtime.InteropServices.NFloat value, System.Runtime.InteropServices.NFloat sign);
static member CopySign : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function CopySign (value As NFloat, sign As NFloat) As NFloat

Parameter

value
NFloat

Nilai yang besarnya digunakan dalam hasil.

sign
NFloat

Nilai yang tandanya digunakan dalam hasil.

Mengembalikan

Nilai dengan besaran value dan tanda sign.

Penerapan

Berlaku untuk