lazysheepmedia
Member
Folks
I have a calculate element that is working fine with the following code added to make it work
I'm stuck on the last bit. The number it returns (for example) is 100.00 - How can I change the code to show the currency sign of my choice - e.g. ?100.00?
Thanks
I have a calculate element that is working fine with the following code added to make it work
PHP:
$x=(float){maintenance___jobs_cost_agent}*{maintenance___job_agent_comm}/100+{maintenance___jobs_cost_agent};
return number_format($x,2);
I'm stuck on the last bit. The number it returns (for example) is 100.00 - How can I change the code to show the currency sign of my choice - e.g. ?100.00?
Thanks