ComponentOne FinancialChart for WPF
C1.WPF.Chart Namespace / BreakEven Class / GetTotalCost Method
Number of units.



In This Topic
    GetTotalCost Method
    In This Topic
    Returns the total cost for the specifies number of units.
    Syntax
    'Declaration
     
    
    Public Function GetTotalCost( _
       ByVal nUnits As Integer _
    ) As Double
    'Usage
     
    
    Dim instance As BreakEven
    Dim nUnits As Integer
    Dim value As Double
     
    value = instance.GetTotalCost(nUnits)
    public double GetTotalCost( 
       int nUnits
    )
    public:
    double GetTotalCost( 
       int nUnits
    ) 

    Parameters

    nUnits
    Number of units.

    Return Value

    Total cost.
    See Also