[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

variable / automatisk



Jeg kunne godt bruge lidt hjælp da jeg er sikker på at en "perlhaj" kan få dette til at fylde een linie.

Men jeg ved ikke hvordan man får $status1 til at blive til $status2, $status3 m.v. automatisk, og for den sags skyld også $h1 til $h2, $h3 og $u1 til $u2, $u3


if ($status1 eq "I GANG"){$h1 = sprintf("%.2f", $h1);$u1 = sprintf("%.2f", $u1);}
if ($status2 eq "I GANG"){$h2 = sprintf("%.2f", $h2);$u2 = sprintf("%.2f", $u2);}
if ($status3 eq "I GANG"){$h3 = sprintf("%.2f", $h3);$u3 = sprintf("%.2f", $u3);}
if ($status4 eq "I GANG"){$h4 = sprintf("%.2f", $h4);$u4 = sprintf("%.2f", $u4);}
if ($status5 eq "I GANG"){$h5 = sprintf("%.2f", $h5);$u5 = sprintf("%.2f", $u5);}
if ($status6 eq "I GANG"){$h6 = sprintf("%.2f", $h6);$u6 = sprintf("%.2f", $u6);}
if ($status7 eq "I GANG"){$h7 = sprintf("%.2f", $h7);$u7 = sprintf("%.2f", $u7);}
if ($status8 eq "I GANG"){$h8 = sprintf("%.2f", $h8);$u8 = sprintf("%.2f", $u8);}
if ($status9 eq "I GANG"){$h9 = sprintf("%.2f", $h9);$u9 = sprintf("%.2f", $u9);}
if ($status10 eq "I GANG"){$h10 = sprintf("%.2f", $h10);$u10 = sprintf("%.2f", $u10);}
if ($status11 eq "I GANG"){$h11 = sprintf("%.2f", $h11);$u11 = sprintf("%.2f", $u11);}



Mvh Henning Hansen


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 19:54 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *