Re: Inline formatting of currency in expression of text box
Posted: Thu Oct 15, 2020 4:05 pm
I am using the following as an expression:
but it comes out as
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
Code: Select all
Was: {Format("{0:C}", data_items.price)}
Code: Select all
Was: $2.49
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