RE: [PHP-WIN] calculations

2004-06-03 Thread Gryffyn, Trevor
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

RE: [PHP-WIN] calculations

2004-06-03 Thread Svensson, B.A.T. (HKG)
> >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

Re: [PHP-WIN] calculations

2004-06-03 Thread Luis Moreira
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 =

RE: [PHP-WIN] calculations

2004-06-02 Thread Svensson, B.A.T. (HKG)
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

Re: [PHP-WIN] calculations

2004-06-02 Thread Larry E . Ullman
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

[PHP-WIN] calculations

2004-06-02 Thread Lenny Davila
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 --