Are you not wanting to round up all values to the next whole person?
If you only want to round up when less than one, then you need to calculate the value and then test to see if it is less than one. If so, round up the value, if not, pass through the value. You could do that in one calculated value, with a lot of repeated calculation. It may be easier to understand and maintain if you use two calculated values.
OCCLoadCalc = Area/AreaPerOcc
(where Area/AreaPerOcc is a placeholder for the formula you already have for calculating the occupant load based on the area of the Area)
Then apply the rounding if needed:
OCCLoad = if(OCCLoadCalc < 1, roundup(OCCLoadCalc), OCCLoadCalc)
We would just use roundup on the original calculation for all cases, as we would not report a fractional number of people.
David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
