Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.
Private m_total As Double Private m_count As Integer Public Function CalculateAverage(average As Double, inTotalCostAcre as Boolean) As Double If Not inTotalCostAcre Then ' Average of TotalCostAcre Return average Else If inTotalCostAcre Then ' Subtotal of inTotalCostAcre m_total = m_total + subtotal m_count = m_count + 1 Return subtotal Else ' Average of Subtotal Dim avg as Double avg = m_total / m_count m_count = 0 m_total = 0 Return avg End If End Function
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
15 Experts available now in Live!