Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 01330ec25d
Fetching contributors…

Cannot retrieve contributors at this time

58 lines (41 sloc) 1.323 kB
__NAME__ purpose
specify number to divide the price by, to obtain price in units
__END__
__NAME__ synopsis
<arg choice='plain'><replaceable>number</replaceable></arg>
__END__
__NAME__ description
The number the price should be divided by, to get the price in base units
(dollars or such).
</para><para>
For example, if you keep your prices specified in pennies (100th part of a
dollar), set the directive to <literal>100</literal>.
__END__
__NAME__ notes
This directive is overridden by eventual &conf-Locale; definition which,
by design of &conf-Locale;, allows it to be set differently for different
currencies.
__END__
__NAME__ see also
Locale
__END__
__NAME__ example: Setting PriceDivide
<programlisting>
PriceDivide 100
</programlisting>
__END__
__NAME__ example: Setting PriceDivide depending on current locale
<programlisting>
# (Default is PriceDivide 1, so no special setting required)
#PriceDivide 1
# Establish locale-specific price division
Locale fr_FR PriceDivide .20
</programlisting>
The following would make prices expressed in French francs five times
higher than corresponding dollar amounts.
</para><para>
To fully understand the example and implicitly presented &IC; features, make
sure you're familiar with &glos-internationalization; and &glos-locale;
glossary
entries.
__END__
Jump to Line
Something went wrong with that request. Please try again.