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 * $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?

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to