User Tools

Site Tools


en:public:developer:template_system:tags:parameters:decimalseparator

DecimalSeparator

The character used to display the decimal separator when formating a value throught the parameter “format”

NOTE: By default the content of the parameter “DecimalSeparator” will be parsed (all <#..> tags will be evaluated) before to apply any filter. You can control this behavior throught the parameter AnalyzeTagParams

Example

<#MyVar setValue="12345.678">
<#MyVar Format="'Money = '%.2m" ThousandSeparator=' ' DecimalSeparator=','>

The above example will output:

Money = $12 345,68
en/public/developer/template_system/tags/parameters/decimalseparator.txt · Last modified: 2013/01/27 22:27 by admin