/[health_html]/inc/pgBMI.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /inc/pgBMI.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ravilov, Tue Sep 25 15:38:04 2001 UTC revision 1.2 by ravilov, Thu Oct 4 14:59:35 2001 UTC
# Line 29  Line 29 
29                  for ($i = 0; $i < $n; $i++) $mul *= 10;                  for ($i = 0; $i < $n; $i++) $mul *= 10;
30                  return ceil($val * $mul) / $mul;                  return ceil($val * $mul) / $mul;
31          }          }
32          if ($izracunaj && $visina && $tezina && $spol) {          if (($izracunaj_x || $izracunaj_y) && $visina && $tezina && $spol) {
33                  $vis = $visina / 100;                  $vis = $visina / 100;
34                  $bmi = Zaokruzi($tezina / ($vis * $vis));                  $bmi = Zaokruzi($tezina / ($vis * $vis));
35                  $tpl->assign("bmi", $bmi);                  $tpl->assign("bmi", $bmi);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26