Here’s an example… The retail price is $49.99. The template text must include %result% where you wish the output to appear. 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 option allows you to specify other information to be output along with the conversion result. If you wish to suppress these messages then you need to use a template (see the later section on this) – in this case no output will be generated in the case of an error. If the conversion can’t be done then an appropriate error message will be output instead. This would convert 50 from US dollars to UK pounds and output the result without any decimal places. This would convert 49.99 from UK pounds to US dollars and output the result to 2 decimal places.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |