Text format 'number' not working in Stimulsoft reports

Stimulsoft Reports.WEB discussion
Post Reply
shilpa
Posts: 21
Joined: Thu Aug 11, 2011 8:03 am
Location: India

Text format 'number' not working in Stimulsoft reports

Post by shilpa »

Hi,

In my report I have a column where the numbers are in decimals.

But, in stimulsoft report, when I select "text format" as "Number" and give decimal digits to 2 ,the numbers are rounded off & after the rounded off number .00 is appended.

For eg : 317.70 in database is seen as 318.00

Kindly suggest some solution for this.


Than you.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Text format 'number' not working in Stimulsoft reports

Post by Ivan »

Hello,

Can you please send us a sample report template with data or a simple test project, which reproduces the issue?

Thank you.
shilpa
Posts: 21
Joined: Thu Aug 11, 2011 8:03 am
Location: India

Text format 'number' not working in Stimulsoft reports

Post by shilpa »

Hi,

Sorry for the late reply.

I am sending you the mrt file for the report that I am using.In that chk the column data naming "{QAAccuracySummary.Deficit}" .In that suppose if the data in that column is 317.75 , the data it is displaying is 318 .If I am using the number format of stimulsoft to take 2 decimal places , it is showing the data as 318.00 and not 317.75.

Waiting for your reply.

Thank you,

Attachments
1284.0-0-QAAccuracySummary.mrt
(35.28 KiB) Downloaded 354 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Text format 'number' not working in Stimulsoft reports

Post by Alex K. »

Hello,

You have described in the dictionary the field QAAccuracySummary.Deficit as the long type, so the value of the field is rounded. Specify the type as decimal or double.

Thank you.
shilpa
Posts: 21
Joined: Thu Aug 11, 2011 8:03 am
Location: India

Text format 'number' not working in Stimulsoft reports

Post by shilpa »

Hi,

I updated the type of QAAccuracySummary.Deficit to decimal.Now, I can see the values in decimals without rounding off.

Thanks a ton. :biggrin:

Cheers !!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Text format 'number' not working in Stimulsoft reports

Post by Alex K. »

Hello,

We are always glad to help you!
Let us know if you need any additional help.

Thank you.
hrl60
Posts: 1
Joined: Sun Oct 04, 2015 5:48 am

Re: Text format 'number' not working in Stimulsoft reports

Post by hrl60 »

I have same problem and my field type is decimal.... please help me :oops:
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Text format 'number' not working in Stimulsoft reports

Post by Alex K. »

Hello,

Can you please send us a sample report template with data or a simple test project, which reproduces the issue?

Thank you.
Post Reply