Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IFormatter Interface / Format Method / Format(Double,FormatOptions) Method
A double value indicates the number to format.
A value that specifies additional format options.


In This Topic
    Format(Double,FormatOptions) Method
    In This Topic
    Formats the specified number to display text.
    Syntax
    'Declaration
     
    
    Overloads Function Format( _
       ByVal number As Double, _
       Optional ByVal options As FormatOptions _
    ) As FormatResult
    'Usage
     
    
    Dim instance As IFormatter
    Dim number As Double
    Dim options As FormatOptions
    Dim value As FormatResult
     
    value = instance.Format(number, options)

    Parameters

    number
    A double value indicates the number to format.
    options
    A value that specifies additional format options.

    Return Value

    A FormatResult value represents the formatting result.
    See Also