Template: Semorg-currency: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
 
Line 1: Line 1:
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#if:{{{1|}}}
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#if:{{{1|}}}
   |<span class="semorg-currency">{{int:semorg-currency-symbol}} {{{1}}}</span>
   |<span class="semorg-currency">{{int:semorg-currency-symbol}} {{{1}}}{{#if:{{{2|}}}
    |{{#ifexpr:{{formatnum:{{{1}}}|R}}-trunc({{formatnum:{{{1}}}|R}}) = 0
      |{{#switch:{{{2}}}
        | 1 = ,0
        | 2 = ,00
      }}
      |{{#ifexpr: {{{2}}} = 2 and {{formatnum:{{{1}}}|R}}*10-trunc({{formatnum:{{{1}}}|R}}*10) = 0
        |0
      }}
    }}     
  }}</span>
}}</includeonly>
}}</includeonly>

Latest revision as of 13:00, 12 April 2023

This page is part of the Semantic Organization extension.