Share via


SqlFuncs.StringConvert Method (Nullable<Double>, Nullable<Int32>)

 

Returns character data converted from numeric data.

Namespace:   Microsoft.WindowsAzure.Mobile.Service
Assembly:  Microsoft.WindowsAzure.Mobile.Service.Entity (in Microsoft.WindowsAzure.Mobile.Service.Entity.dll)

Syntax

[DbFunctionAttribute("SqlServer", "STR")]
public static string StringConvert(
    Nullable<double> number,
    Nullable<int> length
)
public:
[DbFunctionAttribute("SqlServer", "STR")]
static String^ StringConvert(
    Nullable<double> number,
    Nullable<int> length
)
[<DbFunctionAttribute("SqlServer", "STR")>]
static member StringConvert : 
        number:Nullable<float> *
        length:Nullable<int> -> string
<DbFunctionAttribute("SqlServer", "STR")>
Public Shared Function StringConvert (
    number As Nullable(Of Double),
    length As Nullable(Of Integer)
) As String

Parameters

  • length
    Type: System.Nullable<Int32>

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

Return Value

Type: System.String

The numeric input expression converted to a string.

See Also

StringConvert Overload
SqlFuncs Class
Microsoft.WindowsAzure.Mobile.Service Namespace

Return to top