Page 1 of 1

Number format in the report template

Posted: Mon Feb 19, 2024 8:35 am
by ivanov_av
Hello,
I am creating report from the code
Can you help me with the number format?
What should I write in report template to set number for Integer format (without digits after dot)?

Report part of my template:

Code: Select all

{
    "Pages": {
        "0": {
            "Ident": "StiPage",
            "Components": {
                "0": {
                    "Ident": "StiHeaderBand",
                    "Components": {
                        "0": {
                            "Ident": "StiText",
                            "Text": {
                                "Value": "Document version"
                            }
                        }
                    }
                },
                "1": {
                    "Ident": "StiDataBand",
                    "Components": {
                        "4": {
                            "Ident": "StiText",
                            "Text": {
                                "Value": "7685"
                            },
                            "Format": "Number",

                        }
                    }
                }
            }
        }
    }
}
Thank you!

Re: Number format in the report template

Posted: Mon Feb 19, 2024 10:46 pm
by Lech Kulikowski
Hello,

You can set the Decimal Digits option.

Thank you.