Format function in expression

Stimulsoft Reports.JS discussion
Post Reply
agodoo
Posts: 9
Joined: Tue May 22, 2018 10:56 pm

Format function in expression

Post by agodoo »

Hello,
I'm using Stimulsoft Report.JS and I have a text field used to visulize the sum of a report field:
the expression is the following:

TOTALE: € {Sum(Datazone_items,zone_items.PrezzoTotale)}

I would need to know how to modify it so that the resulting SUm is formatted with 2 decimal places, even if for example I have 134,50 as result.
Actually if I have 134,50 it shows it as 134,5

Kind regards,
Matt
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Format function in expression

Post by Lech Kulikowski »

Hello,

Please try to use the Format property.

Thank you.
Post Reply