r what it seems to be intended for.
-TG
> -Original Message-
> From: Lenny Davila [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 02, 2004 9:24 PM
> To: 'php windows'
> Subject: [PHP-WIN] calculations
>
>
> I have in my php code:
>
> $gall
> >How did you come to the conclusion it should be 452?
> Like Svensson says, how do you get 452 ?
> If you calculate 452/3 you get 150.(6)
What I can read from the question: the predicted result should
be 452. Since the formula only does what is told to do, i.e.
output the number 444 with the s
Svensson, B.A.T. (HKG) wrote:
How did you come to the conclusion it should be 452?
-Original Message-
From: Lenny Davila
To: 'php windows'
Sent: 3-6-2004 3:23
Subject: [PHP-WIN] calculations
I have in my php code:
$galleryRow = 3;
$maxwidth = 144;
$borderwidth = 2;
$imagediv =
How did you come to the conclusion it should be 452?
-Original Message-
From: Lenny Davila
To: 'php windows'
Sent: 3-6-2004 3:23
Subject: [PHP-WIN] calculations
I have in my php code:
$galleryRow = 3;
$maxwidth = 144;
$borderwidth = 2;
$imagediv = ($maxwidth + (2 * $b
I have in my php code:
$galleryRow = 3;
$maxwidth = 144;
$borderwidth = 2;
$imagediv = ($maxwidth + (2 * $borderwidth));
$contentwidth = ($imagediv * 3);
The output of contentwidth should be : 452
But it comes out as 444. Does anyone know what I am doing wrong?
The output should be 444:
$imagediv
I have in my php code:
$galleryRow = 3;
$maxwidth = 144;
$borderwidth = 2;
$imagediv = ($maxwidth + (2 * $borderwidth));
$contentwidth = ($imagediv * 3);
The output of contentwidth should be : 452
But it comes out as 444. Does anyone know what I am doing wrong?
TIA
--