NFloat.Round 메서드

정의

오버로드

Round(NFloat, Int32, MidpointRounding)

기본 반올림 모드(ToEven)를 사용하여 값을 지정된 수의 소수 자릿수로 반올림합니다.

Round(NFloat, MidpointRounding)

지정된 반올림 모드를 사용하여 값을 가장 가까운 정수로 반올림합니다.

Round(NFloat, Int32)

기본 반올림 모드(ToEven)를 사용하여 값을 지정된 수의 소수 자릿수로 반올림합니다.

Round(NFloat)

기본 반올림 모드(ToEven)를 사용하여 값을 가장 가까운 정수로 반올림합니다.

Round(NFloat, Int32, MidpointRounding)

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

기본 반올림 모드(ToEven)를 사용하여 값을 지정된 수의 소수 자릿수로 반올림합니다.

public:
 static System::Runtime::InteropServices::NFloat Round(System::Runtime::InteropServices::NFloat x, int digits, MidpointRounding mode) = System::Numerics::IFloatingPoint<System::Runtime::InteropServices::NFloat>::Round;
public static System.Runtime.InteropServices.NFloat Round (System.Runtime.InteropServices.NFloat x, int digits, MidpointRounding mode);
static member Round : System.Runtime.InteropServices.NFloat * int * MidpointRounding -> System.Runtime.InteropServices.NFloat
Public Shared Function Round (x As NFloat, digits As Integer, mode As MidpointRounding) As NFloat

매개 변수

x
NFloat

반올림할 값입니다.

digits
Int32

반올림해야 하는 x 소수 자릿수입니다.

mode
MidpointRounding

반올림해야 하는 x 모드입니다.

반환

를 사용하여 mode소수 자릿수로 digits 반올림 x 한 결과입니다.

구현

적용 대상

Round(NFloat, MidpointRounding)

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

지정된 반올림 모드를 사용하여 값을 가장 가까운 정수로 반올림합니다.

public:
 static System::Runtime::InteropServices::NFloat Round(System::Runtime::InteropServices::NFloat x, MidpointRounding mode) = System::Numerics::IFloatingPoint<System::Runtime::InteropServices::NFloat>::Round;
public static System.Runtime.InteropServices.NFloat Round (System.Runtime.InteropServices.NFloat x, MidpointRounding mode);
static member Round : System.Runtime.InteropServices.NFloat * MidpointRounding -> System.Runtime.InteropServices.NFloat
Public Shared Function Round (x As NFloat, mode As MidpointRounding) As NFloat

매개 변수

x
NFloat

반올림할 값입니다.

mode
MidpointRounding

반올림해야 하는 x 모드입니다.

반환

를 사용하여 mode가장 가까운 정수로 반올림 x 한 결과입니다.

구현

적용 대상

Round(NFloat, Int32)

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

기본 반올림 모드(ToEven)를 사용하여 값을 지정된 수의 소수 자릿수로 반올림합니다.

public:
 static System::Runtime::InteropServices::NFloat Round(System::Runtime::InteropServices::NFloat x, int digits) = System::Numerics::IFloatingPoint<System::Runtime::InteropServices::NFloat>::Round;
public static System.Runtime.InteropServices.NFloat Round (System.Runtime.InteropServices.NFloat x, int digits);
static member Round : System.Runtime.InteropServices.NFloat * int -> System.Runtime.InteropServices.NFloat
Public Shared Function Round (x As NFloat, digits As Integer) As NFloat

매개 변수

x
NFloat

반올림할 값입니다.

digits
Int32

반올림해야 하는 x 소수 자릿수입니다.

반환

기본 반올림 모드를 xdigits 사용하여 소수 자릿수로 반올림한 결과입니다.

구현

적용 대상

Round(NFloat)

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

기본 반올림 모드(ToEven)를 사용하여 값을 가장 가까운 정수로 반올림합니다.

public:
 static System::Runtime::InteropServices::NFloat Round(System::Runtime::InteropServices::NFloat x) = System::Numerics::IFloatingPoint<System::Runtime::InteropServices::NFloat>::Round;
public static System.Runtime.InteropServices.NFloat Round (System.Runtime.InteropServices.NFloat x);
static member Round : System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function Round (x As NFloat) As NFloat

매개 변수

x
NFloat

반올림할 값입니다.

반환

기본 반올림 모드를 x 사용하여 가장 가까운 정수로 반올림한 결과입니다.

구현

적용 대상