Skip to main content

Decimal Rounding in VertiGIS Reporting

Comments

3 comments

  • Berend Veldkamp

    I can't reproduce this using your JSON in a report that only has a single label pointing to the TOTAL field. It looks like this:

     

    You're not doing any rounding in the text expression, are you? That should just be [TOTAL] 

    0
  • Kevin Fowler

     

    Berend,

    I submitted a ticket with VertiGIS and was able to get to the bottom of the issue. It has to do with the Data Type that's set when the JSON Data Source is created. Depending on the numeric value you give (i.e. include a decimal or no decimal) it will parse it either as a integer or a decimal. Below is the response I got.
     

    1
  • Berend Veldkamp

    Thanks for the update, this can help others having the same issue

    0

Please sign in to leave a comment.