These are chat archives for Der-Eddy/heim

2nd
Mar 2015
Eduard
@Der-Eddy
Mar 02 2015 09:05
jojojo
Eduard
@Der-Eddy
Mar 02 2015 09:13
Der-Eddy/heim@f4c4f49 best commit 2015
Eduard
@Der-Eddy
Mar 02 2015 09:20
Eduard
@Der-Eddy
Mar 02 2015 09:28
LaTeXcode
echo "<tr><td>$k. Jahr</td><td>" . number_format($kapital, 2, ",", ".") . " EUR</td><td>" . number_format($zins, 2, ",", ".") . " EUR</td></tr>";
<?php
    $sparrate = 20;
    $zinssatz = 3;
    $kapital = 0;
    $laufzeit = 10;
    $jahreszins = 0;

    for ($k = 1; $k <= $laufzeit; $k++){
    for ($i = 1; $i <= 12; $i++)
    {
    $kapital += $sparrate;
    $zins = ($kapital * $zinssatz) / (100 * 30);
    $kapital += $zins;
    }
        echo "<tr><td>$k. Jahr</td><td>" . number_format($kapital, 2, ",", ".") . " EUR</td><td>" . number_format($zins, 2, ",", ".") . " EUR</td></tr>";
    }
?>
Eduard
@Der-Eddy
Mar 02 2015 10:55
Joho
probandula
@probandula
Mar 02 2015 10:57
Pushgit
Eduard
@Der-Eddy
Mar 02 2015 10:58
Noob