Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / BuiltInNumberFormats Class / GetDecimalPartLength Method
Number format
Section index
Workbook which store number format


In This Topic
    GetDecimalPartLength Method (BuiltInNumberFormats)
    In This Topic
    Get decimal part length from specify number format.
    Syntax
    'Declaration
     
    
    Public Shared Function GetDecimalPartLength( _
       ByVal numberFormat As NumberFormat, _
       ByVal sectionIndex As Integer, _
       ByVal workbook As IWorkbook _
    ) As Integer
    'Usage
     
    
    Dim numberFormat As NumberFormat
    Dim sectionIndex As Integer
    Dim workbook As IWorkbook
    Dim value As Integer
     
    value = BuiltInNumberFormats.GetDecimalPartLength(numberFormat, sectionIndex, workbook)
    public static int GetDecimalPartLength( 
       NumberFormat numberFormat,
       int sectionIndex,
       IWorkbook workbook
    )

    Parameters

    numberFormat
    Number format
    sectionIndex
    Section index
    workbook
    Workbook which store number format
    See Also