https://frp.sage.fr/wiki1000/index.php?title=RoundToFloor_(rtl)&feed=atom&action=history
RoundToFloor (rtl) - Historique des versions
2024-03-28T22:05:01Z
Historique pour cette page sur le wiki
MediaWiki 1.18.6
https://frp.sage.fr/wiki1000/index.php?title=RoundToFloor_(rtl)&diff=6371&oldid=prev
Syfre le 27 juillet 2012 à 07:08
2012-07-27T07:08:07Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Version précédente</td>
<td colspan='2' style="background-color: white; color:black;">Version du 27 juillet 2012 à 07:08</td>
</tr><tr><td colspan="2" class="diff-lineno">Ligne 41 :</td>
<td colspan="2" class="diff-lineno">Ligne 41 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Voir aussi:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Voir aussi:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* [[RoundToDecimales (rtl)|<del class="diffchange diffchange-inline">RoundToDécimales</del>]]</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* [[RoundToDecimales (rtl)|<ins class="diffchange diffchange-inline">RoundToDecimales</ins>]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[RoundToCeil (rtl)|RoundToCeil]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[RoundToCeil (rtl)|RoundToCeil]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{{Footer|Développement DSM}}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{{Footer|Développement DSM}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[category:RTL Conversion]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[category:RTL Conversion]]</div></td></tr>
</table>
Syfre
https://frp.sage.fr/wiki1000/index.php?title=RoundToFloor_(rtl)&diff=6369&oldid=prev
Syfre le 27 juillet 2012 à 07:05
2012-07-27T07:05:29Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Version précédente</td>
<td colspan='2' style="background-color: white; color:black;">Version du 27 juillet 2012 à 07:05</td>
</tr><tr><td colspan="2" class="diff-lineno">Ligne 26 :</td>
<td colspan="2" class="diff-lineno">Ligne 26 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   d := 1.709;</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   d := 1.709;</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>   r := RoundToFloor(d,2); // <del class="diffchange diffchange-inline">c </del>= 1.70</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>   r := RoundToFloor(d,2); // <ins class="diffchange diffchange-inline">r </ins>= 1.70</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   d := 1.6999991;</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   d := 1.6999991;</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>   r := RoundToFloor(d,2); // <del class="diffchange diffchange-inline">c </del>= 1.69</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>   r := RoundToFloor(d,2); // <ins class="diffchange diffchange-inline">r </ins>= 1.69</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   d := 1.6999995;</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   d := 1.6999995;</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>   r := RoundToFloor(d,2); // <del class="diffchange diffchange-inline">c </del>= 1.70</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>   r := RoundToFloor(d,2); // <ins class="diffchange diffchange-inline">r </ins>= 1.70</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   d := 1.6999996;</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   d := 1.6999996;</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>   r := RoundToFloor(d,2); // <del class="diffchange diffchange-inline">c </del>= 1.70</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>   r := RoundToFloor(d,2); // <ins class="diffchange diffchange-inline">r </ins>= 1.70</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>end;</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>end;</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td></tr>
</table>
Syfre
https://frp.sage.fr/wiki1000/index.php?title=RoundToFloor_(rtl)&diff=6368&oldid=prev
Syfre le 27 juillet 2012 à 07:05
2012-07-27T07:05:14Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Version précédente</td>
<td colspan='2' style="background-color: white; color:black;">Version du 27 juillet 2012 à 07:05</td>
</tr><tr><td colspan="2" class="diff-lineno">Ligne 14 :</td>
<td colspan="2" class="diff-lineno">Ligne 14 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|Nombre de décimales</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|Nombre de décimales</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">{{Tip|Cette fonction arrondi à dec+4 décimales puis applique la fonction ceil}}</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Exemple</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Exemple</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Ligne 21 :</td>
<td colspan="2" class="diff-lineno">Ligne 23 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>begin</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>begin</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   d := 1.700;</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   d := 1.700;</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">  r := RoundToFloor(d,2); // r = 1.70</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">  d := 1.709;</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">  r := RoundToFloor(d,2); // c = 1.70</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">  d := 1.6999991;</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   r := RoundToFloor(d,2); // c = 1.69</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   r := RoundToFloor(d,2); // c = 1.69</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>   d := 1.<del class="diffchange diffchange-inline">739</del>;</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>   r := RoundToFloor(d,2); // c = 1.<del class="diffchange diffchange-inline">73</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  d := 1.6999995;</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">  r := RoundToFloor(d,2); // c = 1.70</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>   d := 1.<ins class="diffchange diffchange-inline">6999996</ins>;</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>   r := RoundToFloor(d,2); // c = 1.<ins class="diffchange diffchange-inline">70</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>end;</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>end;</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td></tr>
</table>
Syfre
https://frp.sage.fr/wiki1000/index.php?title=RoundToFloor_(rtl)&diff=6366&oldid=prev
Syfre le 26 juillet 2012 à 16:11
2012-07-26T16:11:43Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Version précédente</td>
<td colspan='2' style="background-color: white; color:black;">Version du 26 juillet 2012 à 16:11</td>
</tr><tr><td colspan="2" class="diff-lineno">Ligne 20 :</td>
<td colspan="2" class="diff-lineno">Ligne 20 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>var d,r:double;  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>var d,r:double;  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>begin</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>begin</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">  d := 1.700;</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">  r := RoundToFloor(d,2); // c = 1.69</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   d := 1.739;</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   d := 1.739;</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>   r := <del class="diffchange diffchange-inline">RoundToCeil</del>(d,2); // c = 1.73</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>   r := <ins class="diffchange diffchange-inline">RoundToFloor</ins>(d,2); // c = 1.73</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>end;</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>end;</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td></tr>
</table>
Syfre
https://frp.sage.fr/wiki1000/index.php?title=RoundToFloor_(rtl)&diff=6364&oldid=prev
Syfre : Page créée avec « <source lang='delphi'>Function RoundToFloor(X:double; dec:Integer):double;</source> Cette fonction retourne la valeur arrondie à l'entier inférieur d'un nombre flottant. … »
2012-06-28T09:34:16Z
<p>Page créée avec « <source lang='delphi'>Function RoundToFloor(X:double; dec:Integer):double;</source> Cette fonction retourne la valeur arrondie à l'entier inférieur d'un nombre flottant. … »</p>
<p><b>Nouvelle page</b></p><div><source lang='delphi'>Function RoundToFloor(X:double; dec:Integer):double;</source><br />
<br />
Cette fonction retourne la valeur arrondie à l'entier inférieur d'un nombre flottant.<br />
<br />
{|class="wikitable"<br />
|-<br />
|Result<br />
|La valeur arrondie à l'entier inférieur de l'argument au nombre de décimales.<br />
|-<br />
|X<br />
|Nombre.<br />
|-<br />
|dec<br />
|Nombre de décimales<br />
|}<br />
<br />
Exemple<br />
<br />
<source lang='delphi'><br />
var d,r:double; <br />
begin<br />
d := 1.739;<br />
r := RoundToCeil(d,2); // c = 1.73<br />
end;<br />
</source><br />
<br />
Voir aussi:<br />
<br />
* [[RoundToDecimales (rtl)|RoundToDécimales]]<br />
* [[RoundToCeil (rtl)|RoundToCeil]]<br />
<br />
{{Footer|Développement DSM}}<br />
[[category:RTL Conversion]]</div>
Syfre