This is in LL30, interfaced with OpenGov/Cartegraph.
I use a crosstab to organize and sum labor hours by job and labor code.
However, employees must be paid for half-hours of work, for example. How can I make the crosstab stop rounding to an integer, so the employees can be paid accurately?
In a List & Label crosstab, rounding is usually not “hard-coded” in the sum itself. It typically comes from:
The data type / value that OpenGov/Cartegraph passes to List & Label, and
The formatting / number of decimals configured for the crosstab’s sum cells.
Because we don’t have direct details about your project or data source from the provided documentation, the steps below are based on standard List & Label crosstab behavior.
What to check in the Designer
1) Check the data type of your “hours” field
In the Designer, open the Variables/Fields window.
Locate the field used for your labor hours (the one being summed in the crosstab).
Confirm that it is:
A numeric type (e.g., “Numeric” / “Double”), not an integer, and
Actually contains values like 0.5, 1.5—not values already rounded by the application.
If OpenGov/Cartegraph passes only integers (e.g., 1, 2, 3) instead of 0.5-step values, List & Label cannot “recreate” half hours. In that case, the issue is on the data-source side.
2) Adjust the crosstab sum cell’s numeric format
Open your project in the Designer.
Open the crosstab object that shows “hours by job and labor code”.
Select the data cell that displays the total hours (the sum cell in the data area, not a header cell).
In the Properties window (usually on the right):
Look for Contents / Format / Number format (wording varies by LL version/UI language).
Set decimal places to at least 2 (or whatever precision you need).
Many layouts default to 0 decimal places for hours, which can make 1.5 display as 2 or 1 (depending on rounding rules).
Also verify you are not using an expression such as Round(MyHours) or Int(MyHours) that removes decimals.
Clarification questions
To provide an exact step-by-step fix, please share:
In the Designer’s Fields/Variables window, what is the type and a sample value of your hours field (e.g., “Numeric 1.50” vs “Integer 1”)?
In the crosstab, is the sum cell using:
Sum(<yourHoursField>), or
a more complex formula?
When selecting the crosstab sum cell, how many decimal places are currently configured in its Format / Number settings?