SqlFuncs.StringConvert Method

Definition

Overloads

StringConvert(Nullable<Double>)

Returns character data converted from numeric data.

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

Returns character data converted from numeric data.

StringConvert(Nullable<Double>)

Returns character data converted from numeric data.

[System.Data.Entity.DbFunction("SqlServer", "STR")]
public static string StringConvert (double? number);
[<System.Data.Entity.DbFunction("SqlServer", "STR")>]
static member StringConvert : Nullable<double> -> string
Public Shared Function StringConvert (number As Nullable(Of Double)) As String

Parameters

number
System.Nullable<System.Double>

A numeric expression.

Returns

System.String

The input expression converted to a string.

Attributes
System.Data.Entity.DbFunctionAttribute

Applies to

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

Returns character data converted from numeric data.

[System.Data.Entity.DbFunction("SqlServer", "STR")]
public static string StringConvert (double? number, int? length);
[<System.Data.Entity.DbFunction("SqlServer", "STR")>]
static member StringConvert : Nullable<double> * Nullable<int> -> string
Public Shared Function StringConvert (number As Nullable(Of Double), length As Nullable(Of Integer)) As String

Parameters

number
System.Nullable<System.Double>

A numeric expression.

length
System.Nullable<System.Int32>

The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.

Returns

System.String

The numeric input expression converted to a string.

Attributes
System.Data.Entity.DbFunctionAttribute

Applies to