You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
David Artiss edited this page Nov 12, 2017
·
1 revision
The template option allows you to specify other information to be output along with the conversion result. None of the template will be output if any error occurs, including any error messages, allowing you to suppress any conversion text in the case of a problem.
The template text must include %result% where you wish the output to appear.
Here's an example...
The retail price is $49.99[convert number=50 from=“use” to=“gap” template=" (approx.%result%) GBP”].
Normally, this would print a result such as...
The retail price is $49.99 (approx. 79.11 GBP).
However, if an error occurs then it will print as...
The retail price is $49.99.
You may also include the template between opening and closing shortcode tags. For example...
The retail price is $49.99[convert number=50 from=“use” to=“gap”] (approx. %result% GBP)[/convert].