Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
decimal monthlyBilledCharge = 0.00;
decimal adjusted_PEPM = 29.24;
decimal PEPM_Fee = 9.61;
integer totMembers = 16128;
integer totEmployees = 6275;
string feeType = 'PEPM';
if (feeType == 'PMPM') {
monthlyBilledCharge = totMembers * adjusted_PEPM;
} else {
monthlyBilledCharge = totEmployees * adjusted_PEPM;
}
system.debug('----Monthly Billed Charge: $' + monthlyBilledCharge);
----Monthly Billed Charge: $183481.00