Page 2 of 2

Re: Inline formatting of currency in expression of text box

Posted: Thu Oct 15, 2020 4:05 pm
by alex.coles
I am using the following as an expression:

Code: Select all

Was: {Format("{0:C}", data_items.price)}
but it comes out as

Code: Select all

Was: $2.49
on the report.

I have other fields that are numeric and set to type 'Currency' with the 'Use Local' property set to true and they show '£' correctly (without the Local property they revert to '$' so suspect this is not being used in the inline conversion).

Stimulsoft.Reports.JS
Version: 2019.4.2
Build date: 2019.11.13

Re: Inline formatting of currency in expression of text box

Posted: Thu Oct 15, 2020 10:08 pm
by Lech Kulikowski
Hello,

You can set the Culture property of the report.

Thank you.