Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Calculates the contribution ratio, which is based on the sales price and the purchase price.
Syntax
client server public static real contributionRatio(real sale, real purchase)
Run On
Called
Parameters
- sale
Type: real
The sale price. The sale price must be greater than 0.
- purchase
Type: real
The purchase price.
Return Value
Type: real
The contribution ratio.