Page 1 of 2

Number Format

Posted: Thu Dec 16, 2021 2:11 pm
by JeffersonValim
I'm using the Format function as:

{ Format( "{0:#,0.;(#,0.;#)}", 170572 ) }.

In the Designer preview, it shows: 170,572

In the viewer it is shown: 1.7.0.5.7.2.00

The culture is pt-BR.

What could be happening?

I have to use the format function, because the formatting mask is dynamic and comes from the database.

Re: Number Format

Posted: Fri Dec 17, 2021 9:59 am
by Max Shamanov
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#5893

Re: Number Format

Posted: Sun Dec 19, 2021 1:52 am
by JeffersonValim
Sure!!!

Thanks!

Re: Number Format

Posted: Mon Dec 20, 2021 10:03 pm
by Lech Kulikowski
Hello

You are welcome.
Please let us know if you need any additional help.

Thank you.

Re: Number Format

Posted: Thu Dec 23, 2021 3:32 pm
by JeffersonValim
Please, any news about the problem?

Re: Number Format

Posted: Thu Dec 23, 2021 10:53 pm
by Lech Kulikowski
Hello,

We are still working on the problem. We will let you know when the solution is available.

Thank you.

Re: Number Format

Posted: Fri Mar 11, 2022 1:49 pm
by Max Shamanov
Hello,

The issue is fixed. The fix will be available in the next release build.

Thank you

Re: Number Format

Posted: Mon Mar 14, 2022 2:52 am
by JeffersonValim
Ok!

Thanks!!!

Re: Number Format

Posted: Mon Mar 14, 2022 9:25 am
by Lech Kulikowski
Hello,

You are welcome.

Re: Number Format

Posted: Sun Jul 07, 2024 3:11 pm
by masood_kh87
Hello,
I have data with optional decimal places however on my report I would like it to display with 0 or 3 decimal places.
I use Format Mask ###,###.### and this is ok in preview tab,
But when running it in javascript view mode is incorrect.
for example:
when my value is 2000 I must see 2,000 but in viewer I see 2,000. (point character at the end of value)

I use Stimulsoft Desktop Designer version 2020.4.1 and use Stimulsoft.Report.js version 2020.2.3