Good afternoon
I am evaluating FlexMonster and would like to know how to format the decimal in totals by default.
Thank you
Valerio
Hello, Valerio,
Thank you for writing to us.
Default report configurations, such as decimal formatting, can be defined in the ReportObject.
For example, you can specify the desired decimal separator, the number of decimals to show after the decimal separator, and the maximum number of decimals to show after the decimal separator via the decimalSeparator
, decimalPlaces
, maxDecimalPlaces
parameters accordingly:
formats: [
{
name: "",
decimalSeparator: ".",
decimalPlaces: 2,
maxDecimalPlaces: 2
}
]
Here is a JSFiddle example for illustration.
Please see our Number Formatting tutorial for reference.
Hope this helps.
Best Regards,
Vera
Thanks for the reply Vera.
It was right.
Greetings.