Hello, i need to conditionally change the decimal precision attribute of a field in my form.
For example, if the country is italy i need to show 2 decimal numbers else i need to show 3 decimal numbers.
I’ve tried using sc_format_number but it doesnt work.
Any suggestions?
Thank you.