Text format 'number' shows decimal digits inappropriate

Stimulsoft Reports.NET discussion
Post Reply
onazifi
Posts: 6
Joined: Tue Sep 01, 2015 7:43 am

Text format 'number' shows decimal digits inappropriate

Post by onazifi »

Hello,

In my report I wanna show a number with decimal digits.

But, in stimulsoft report, when I select "text format" as "Number" and give decimal digits to 3, shows the number inappropriate.
For example If we have 121250.36 and set "text format" as "Number", active Use Group Separator, decimal digits equals 3, Group size equals 3. It will show 121250.360
I want to show decimal digits without extra zero!

How can I solve this problem?
Kindly suggest some solution for this.


Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Text format 'number' shows decimal digits inappropriate

Post by HighAley »

Hello.

If you don't want to get extra zeros, please, use Custom Format with next mask:

Code: Select all

#.###
Thank you.
onazifi
Posts: 6
Joined: Tue Sep 01, 2015 7:43 am

Re: Text format 'number' shows decimal digits inappropriate

Post by onazifi »

Hi Aleksey,

Thank you for your response. I checked it and it was right.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Text format 'number' shows decimal digits inappropriate

Post by Alex K. »

Hello,

We are always glad to help you!

Thank you.
Post Reply