Share via


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
Nullable<Double>

A numeric expression.

Returns

The input expression converted to a string.

Attributes

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
Nullable<Double>

A numeric expression.

length
Nullable<Int32>

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

Returns

The numeric input expression converted to a string.

Attributes

Applies to