<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/trader.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'trader.configuration.php',
    1 => 'Configuration &agrave; l\'ex&eacute;cution',
    2 => 'Configuration &agrave; l\'ex&eacute;cution',
  ),
  'up' => 
  array (
    0 => 'trader.setup.php',
    1 => 'Installation/Configuration',
  ),
  'prev' => 
  array (
    0 => 'trader.installation.php',
    1 => 'Installation',
  ),
  'next' => 
  array (
    0 => 'trader.constants.php',
    1 => 'Constantes pr&eacute;-d&eacute;finies',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/trader/setup.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="trader.configuration" class="section">
 <h2 class="title">Configuration à l&#039;exécution</h2>
 <p class="simpara">Le comportement de ces fonctions est
affecté par la configuration dans le fichier <var class="filename">php.ini</var>.</p>
 <p class="para">
  <table class="doctable table">
   <caption><strong>Options de configuration Trader</strong></caption>
   
    <thead>
     <tr>
      <th>Nom</th>
      <th>Défaut</th>
      <th>Modifiable</th>
      <th>Historique</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td><a href="trader.configuration.php#ini.trader.real-precision" class="link">trader.real_precision</a></td>
      <td>3</td>
      <td><strong><code>INI_ALL</code></strong></td>
      <td>Depuis trader 0.2.1</td>
     </tr>

     <tr>
      <td><a href="trader.configuration.php#ini.trader.real-round-mode" class="link">trader.real_round_mode</a></td>
      <td>HALF_DOWN</td>
      <td><strong><code>INI_ALL</code></strong></td>
      <td>Depuis trader 0.3.0</td>
     </tr>

    </tbody>
   
  </table>

 </p>

 <p class="para">Voici un éclaircissement sur
l&#039;utilisation des directives de configuration.</p>

 <p class="para">
  <dl>
   
     <dt id="ini.trader.real-precision">
      <code class="parameter">trader.real_precision</code>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Toutes les valeurs des tableaux retournés seront arrondies à cette précision.
       Cependant, les calculs dans la TA-Lib sont effectués avec des valeurs non-arrondies.
      </p>
     </dd>
    
    
      <dt id="ini.trader.real-round-mode">
       <code class="parameter">trader.real_round_mode</code>
       <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
      </dt>
      <dd>
       <p class="para">
        Contrôle la politique d&#039;arrondissement des réels trader.
        Les valeurs valides sont <code class="literal">HALF_UP</code>,
        <code class="literal">HALF_DOWN</code>, <code class="literal">HALF_EVEN</code>
        et <code class="literal">HALF_ODD</code>.
        Le comportement est identique à la fonction
        <a href="function.round.php" class="link">round()</a> utilisée avec l&#039;argument
        mode.
       </p>
      </dd>
     

  </dl>
 </p>
</div><?php manual_footer($setup); ?>