I have a form where I need to add the dollar amounts for projected small business spend and large business spend. (which is entered by the user) Then, actual cumulative smal and large spend is also entered by the user.
I need to know how to write the script for calculating the percentage of cumulative spend in relation to projected spend.
cumulative spend = % of projected spend
Projected spend = 200.00
50.00 is what % of 200.00
Any help is appreciated.
The '/' is used for division and the '*' is used for multiplication.
A FormCalc calculation script for the 'cumulative spend' field is:
if(ProjectedSpend ne 0) then
(ActualSpend / ProjectedSpend) * 100
else
null
endif
George Kaiser