Apply Group Separator without apply any Decimal digit

Stimulsoft Reports.WEB discussion
Post Reply
G.hammad
Posts: 67
Joined: Tue Jun 24, 2014 7:59 am

Apply Group Separator without apply any Decimal digit

Post by G.hammad »

Hello,

I need to know if i can apply group separator (,) of number without apply any decimal digit and it's separator
for example:
12454.4336 >> 12,454.4336
2657.27131 >> 2,657.27131

is it valid to apply group separator without do any changes on decimal digit ?!


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

Re: Apply Group Separator without apply any Decimal digit

Post by Alex K. »

Hello,

Please try to use the TextFormat property and UseGroupSeparator option for the Text components.

Thank you.
G.hammad
Posts: 67
Joined: Tue Jun 24, 2014 7:59 am

Re: Apply Group Separator without apply any Decimal digit

Post by G.hammad »

Hello Aleksey ,

I'm try to use Text format as number and it's good for group separator but by default decimal digit = 2
which mean if i have this number for example :

12454.4336 >> it will show it like this 12,454.43 (but i don't want to make any changes in decimal digit ! it must show the number as is 12,454.4336)
2657.264 >>it will show it like this 2,657.26 (i want to show it as is after decimal digit = 2,657.264)

is there any way to do what i want ?!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Apply Group Separator without apply any Decimal digit

Post by HighAley »

Hello.

Please, use Custom Text Format and set there any necessary format.
You could use there any Standard or Custom Format String.

Thank you.
Post Reply