Formatting decimal field to currency using sprintf

milesreid

New Member
I am trying to get a decimal field to display with a currency symbol using sprintf in the Formatting property of the element - see attached. The values in this field might be £1.xx up to £9999.xx

The sprintf function that I am using is %c($) as per the advice at :
https://codev-process.carrefour.com...Sprintf Function for Formatting Currency.html

I don't think that the input mask property is what I need, but I stand to be corrected

Nothing seems to work: am I inputting the parameters correctly? What am I doing wrong?
Thanks
Miles
 

Attachments

  • sprintf post.jpg
    sprintf post.jpg
    47 KB · Views: 27
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top