Answered
How do you script percentage and have it show the answer with percentage?
Here is my problem. I have hours worked for one company and total hours worked. I need to divide the total hours of the first company by the total hours worked.
Example: Total TPP hours/Total Hours worked = giving me the percentage worked for TPP.
15hr/160hrs= 9% (I need it rounded)
Also, exactly what do you want to happen if any of the input fields are blank or zero?
A custom calculation script that might do what you want could look something like:
This code assusmes the input fields have a numeric format category and that the calculated field has a percentage format category.
George