Calculates and returns the Fee value. The Payment required is Value + Fee.

For a Payment the Percentage Fee is treated as a grossed-up calculation. E.g. 5% on $100.00 is $5.26 - 5% of $105.26 is $5.26. For a Withdrawal the Percentage Fee is treated as a normal calculation. E.g. 5% on $100.00 is $5.00.

Syntax

finPaymentMethodRO.FeeCalculate(value, [usedPercentageFee])

Parameters

NameTypeOptionalByRefDescription
value Decimal The Payment (before the Fee is added). A negative indicates a Withdrawal.
usedPercentageFee Boolean Optional ByRef Returns True if a percentage was used to calculate the Fee. If omitted, a value of False is assumed.

Return Value

Decimal
Member of:
finPaymentMethodRO
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0