How to get trailing zeros to appear on a report output?

Hi,

I have a client that is requesting that trailing zeros appear on the output reports. gINT outputs single decimal places if they are greater than 0 (ie 123.4) but will not display the trailing (ie 123.0). I've tried everything I can think of and nothing is working.

  • Ian,

    You can use the 'Format' function to force the display of decimals to the you have indicated.

    Here is an example. I am using gINT standard US files to demonstrate this.  I have used the Borehole table- Elevation column to be displayed in 0.00 format and then to have my output reflect it the same way.

    In my Input >Borehole Table>Surface Elevation column, I have added a field rule to show 2 decimals.

    In my report, where I want the decimals to be, I create a 'Format' function along with the desire formatting of 0.00 as the under the text expression for that entity. (here is the Page 1 header block that contains Ground Elevation which I want to display 123.00)

    When I output my report, I would expect the Surface Elevation to show 123.00 as I have in the Input.

    The result is: