SqlDecimal.Round(SqlDecimal, Int32) 메서드

정의

지정된 전체 자릿수를 사용하여 지정된 SqlDecimal 구조체의 값에 가장 가까운 숫자를 가져옵니다.

public:
 static System::Data::SqlTypes::SqlDecimal Round(System::Data::SqlTypes::SqlDecimal n, int position);
public static System.Data.SqlTypes.SqlDecimal Round (System.Data.SqlTypes.SqlDecimal n, int position);
static member Round : System.Data.SqlTypes.SqlDecimal * int -> System.Data.SqlTypes.SqlDecimal
Public Shared Function Round (n As SqlDecimal, position As Integer) As SqlDecimal

매개 변수

n
SqlDecimal

반올림 처리될 SqlDecimal 구조체입니다.

position
Int32

반환 값에서 유효한 소수 자릿수(전체 자릿수)의 숫자입니다.

반환

올림 연산의 결과를 포함하는 SqlDecimal 구조체입니다.

적용 대상

추가 정보