|
|
@@ -1,5 +1,5 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
-<!-- EN-Revision: 20827 -->
|
|
|
+<!-- EN-Revision: 24249 -->
|
|
|
<!-- Reviewed: no -->
|
|
|
<sect1 id="zend.measure.output">
|
|
|
<title>Récupérer des mesures</title>
|
|
|
@@ -7,23 +7,19 @@
|
|
|
<para>Les mesures peuvent être récupérer de différentes manières.</para>
|
|
|
|
|
|
<para>
|
|
|
- <link linkend="zend.measure.output.auto"><code>Récupération automatique</code>
|
|
|
- </link>
|
|
|
+ <link linkend="zend.measure.output.auto">Récupération automatique</link>
|
|
|
</para>
|
|
|
|
|
|
<para>
|
|
|
- <link linkend="zend.measure.output.value"><code>Récupération des valeurs</code>
|
|
|
- </link>
|
|
|
+ <link linkend="zend.measure.output.value">Récupération des valeurs</link>
|
|
|
</para>
|
|
|
|
|
|
<para>
|
|
|
- <link linkend="zend.measure.output.unit"><code>Récupération de l'unité de
|
|
|
- mesure</code> </link>
|
|
|
+ <link linkend="zend.measure.output.unit">Récupération de l'unité de mesure</link>
|
|
|
</para>
|
|
|
|
|
|
<para>
|
|
|
- <link linkend="zend.measure.output.unit"><code>Récupération en tant que chaîne
|
|
|
- régionale</code> </link>
|
|
|
+ <link linkend="zend.measure.output.unit">Récupération en tant que chaîne régionale</link>
|
|
|
</para>
|
|
|
|
|
|
<sect2 id="zend.measure.output.auto">
|
|
|
@@ -51,8 +47,8 @@ echo $unite; // affiche "1234567.89 m"
|
|
|
|
|
|
<para>
|
|
|
L'affichage peut être réalisé simplement en utilisant <ulink
|
|
|
- url="http://php.net/echo"><code>echo</code></ulink> ou <ulink
|
|
|
- url="http://php.net/print"><code>print</code></ulink>.
|
|
|
+ url="http://php.net/echo">echo</ulink> ou <ulink
|
|
|
+ url="http://php.net/print">print</ulink>.
|
|
|
</para>
|
|
|
</note>
|
|
|
</sect2>
|
|
|
@@ -79,8 +75,8 @@ echo $unite->getValue(); // affiche "1234567.89"
|
|
|
|
|
|
<para>
|
|
|
La méthode <methodname>getValue()</methodname> accepte un paramètre facultatif
|
|
|
- "<code>round</code>" qui permet de définir la précision de la sortie générée. La
|
|
|
- précision par défaut est de <code>2</code>.
|
|
|
+ <property>round</property> qui permet de définir la précision de la sortie générée. La
|
|
|
+ précision par défaut est de "2".
|
|
|
</para>
|
|
|
</sect2>
|
|
|
|