× If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html

Formatting output

More
7 years 9 months ago #3963 by sackbut
Formatting output was created by sackbut
I have a table which contains columns with numbers. I want to be able to format the numbers ( currency mainly, but also setting the number of decimal places ) before display. If I could wrap the {joob fieldname} in a sprintf() call it would be easy. I tried this, using Sourcerer to let me put PHP in the template, but it does not work. Any ideas on how to do this ?
Thanks !

Please Log in to join the conversation.

Moderators: Dirkjoest