Template: Semorg-currency: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
(Created page with "<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#if:{{{1|}}} |{{int:semorg-currency-symbol}} {{{1}}} }}</noinclude>")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#if:{{{1|}}}
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#if:{{{1|}}}
   |{{int:semorg-currency-symbol}} {{{1}}}
   |<span class="semorg-currency">{{int:semorg-currency-symbol}} {{{1}}}{{#if:{{{2|}}}
}}</noinclude>
    |{{#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>

Latest revision as of 13:00, 12 April 2023

This page is part of the Semantic Organization extension.