다음을 통해 공유


SqlFunctions.StringConvert 메서드

정의

오버로드

StringConvert(Nullable<Decimal>)

숫자 데이터에서 변환된 문자 데이터를 반환합니다.

StringConvert(Nullable<Double>)

숫자 데이터에서 변환된 문자 데이터를 반환합니다.

StringConvert(Nullable<Decimal>, Nullable<Int32>)

숫자 데이터에서 변환된 문자 데이터를 반환합니다.

StringConvert(Nullable<Double>, Nullable<Int32>)

숫자 데이터에서 변환된 문자 데이터를 반환합니다.

StringConvert(Nullable<Decimal>, Nullable<Int32>, Nullable<Int32>)

숫자 데이터에서 변환된 문자 데이터를 반환합니다.

StringConvert(Nullable<Double>, Nullable<Int32>, Nullable<Int32>)

숫자 데이터에서 변환된 문자 데이터를 반환합니다.

StringConvert(Nullable<Decimal>)

숫자 데이터에서 변환된 문자 데이터를 반환합니다.

[System.Data.Entity.DbFunction("SqlServer", "STR")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="number")]
public static string StringConvert(Nullable<decimal> number);
static member StringConvert : Nullable<decimal> -> string
Public Shared Function StringConvert (number As Nullable(Of Decimal)) As String

매개 변수

number
Nullable<Decimal>

숫자 식입니다.

반환

문자열로 변환된 입력 식입니다.

특성

적용 대상

StringConvert(Nullable<Double>)

숫자 데이터에서 변환된 문자 데이터를 반환합니다.

[System.Data.Entity.DbFunction("SqlServer", "STR")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="number")]
public static string StringConvert(Nullable<double> number);
static member StringConvert : Nullable<double> -> string
Public Shared Function StringConvert (number As Nullable(Of Double)) As String

매개 변수

number
Nullable<Double>

숫자 식입니다.

반환

문자열로 변환된 숫자 입력 식입니다.

특성

적용 대상

StringConvert(Nullable<Decimal>, Nullable<Int32>)

숫자 데이터에서 변환된 문자 데이터를 반환합니다.

[System.Data.Entity.DbFunction("SqlServer", "STR")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="number")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="length")]
public static string StringConvert(Nullable<decimal> number, Nullable<int> length);
static member StringConvert : Nullable<decimal> * Nullable<int> -> string
Public Shared Function StringConvert (number As Nullable(Of Decimal), length As Nullable(Of Integer)) As String

매개 변수

number
Nullable<Decimal>

숫자 식입니다.

length
Nullable<Int32>

문자열의 총 길이입니다. 소수점, 부호, 숫자 및 공백을 포함한 길이입니다. 기본값은 10입니다.

반환

문자열로 변환된 입력 식입니다.

특성

적용 대상

StringConvert(Nullable<Double>, Nullable<Int32>)

숫자 데이터에서 변환된 문자 데이터를 반환합니다.

[System.Data.Entity.DbFunction("SqlServer", "STR")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="number")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="length")]
public static string StringConvert(Nullable<double> number, Nullable<int> length);
static member StringConvert : Nullable<double> * Nullable<int> -> string
Public Shared Function StringConvert (number As Nullable(Of Double), length As Nullable(Of Integer)) As String

매개 변수

number
Nullable<Double>

숫자 식입니다.

length
Nullable<Int32>

문자열의 총 길이입니다. 소수점, 부호, 숫자 및 공백을 포함한 길이입니다. 기본값은 10입니다.

반환

문자열로 변환된 숫자 입력 식입니다.

특성

적용 대상

StringConvert(Nullable<Decimal>, Nullable<Int32>, Nullable<Int32>)

숫자 데이터에서 변환된 문자 데이터를 반환합니다.

[System.Data.Entity.DbFunction("SqlServer", "STR")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="number")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="decimalArg")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="length")]
public static string StringConvert(Nullable<decimal> number, Nullable<int> length, Nullable<int> decimalArg);
static member StringConvert : Nullable<decimal> * Nullable<int> * Nullable<int> -> string
Public Shared Function StringConvert (number As Nullable(Of Decimal), length As Nullable(Of Integer), decimalArg As Nullable(Of Integer)) As String

매개 변수

number
Nullable<Decimal>

숫자 식입니다.

length
Nullable<Int32>

문자열의 총 길이입니다. 소수점, 부호, 숫자 및 공백을 포함한 길이입니다. 기본값은 10입니다.

decimalArg
Nullable<Int32>

소수점 오른쪽의 자릿수입니다. decimal은 16 이하여야 합니다. decimal이 16보다 크면 결과는 소수점 오른쪽의 16자리까지로 잘립니다.

반환

문자열로 변환된 입력 식입니다.

특성

적용 대상

StringConvert(Nullable<Double>, Nullable<Int32>, Nullable<Int32>)

숫자 데이터에서 변환된 문자 데이터를 반환합니다.

[System.Data.Entity.DbFunction("SqlServer", "STR")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="number")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="length")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="decimalArg")]
public static string StringConvert(Nullable<double> number, Nullable<int> length, Nullable<int> decimalArg);
static member StringConvert : Nullable<double> * Nullable<int> * Nullable<int> -> string
Public Shared Function StringConvert (number As Nullable(Of Double), length As Nullable(Of Integer), decimalArg As Nullable(Of Integer)) As String

매개 변수

number
Nullable<Double>

숫자 식입니다.

length
Nullable<Int32>

문자열의 총 길이입니다. 소수점, 부호, 숫자 및 공백을 포함한 길이입니다. 기본값은 10입니다.

decimalArg
Nullable<Int32>

소수점 오른쪽의 자릿수입니다. decimal은 16 이하여야 합니다. decimal이 16보다 크면 결과는 소수점 오른쪽의 16자리까지로 잘립니다.

반환

문자열로 변환된 숫자 입력 식입니다.

특성

적용 대상