Problem dividing a number in a placeholder
Hope someone can help. I have put together a number of slides to work out course costs based on a number of variables such as where the client is located, number of people to be trained etc.
So far so good and I can now provide an accurate cost per course figure using a variable i have rather originally titled TrainingCost.
But then i had the bright idea of including the price per person (ppp) based on either 12 students or 24 students. I thought it would be relatively simpe!
so I created 2 x variables (PPP12 and PPP24)
and created 2 triggers for each variable:
Add TrainingCost to PPP12 when the timeline starts
Divide PPP12 by 12 when the timeline starts
Add TrainingCost to PPP24 when the timeline starts
Divide PPP24 by 24 when the timeline starts
Here's the thing when I do it the first time around it works perfectly. However when I press a button 'recalculate' which takes you back to the start, each time i go through the calculation it adds a small amount onto the ppp (but not the TrainingCost) each time I go through it again for no logical reason. All the slides are set to 'reset to initial state'
Can anyone shed any light on why this may be happening or alternatively suggest a different way of dividing the Training Cost variable?
Any help would be much appreciated