Function idvApportion

Description

This function is given a total amount, a partial amount and a base amount. It returns the apportioned part of the base amount according to the other two values.

Parameters

pTotal The total amount
pPart The partial amount
pBase The base for the calculation
Returns pBase * (pPart/pTotal)

 

  •