[PHP] Convert to int...?

2001-08-22 Thread Seb Frost
I didn't think php was this fussy, but the following code seems to not work because the numbers are floats. round() doesn't seem to help either: $siz=(72/160)*GetImageWidth($fileID); $offx=(8/160)*GetImageWidth($fileID); $offy=(1/2)*GetImageHeight($fileID); ImageTTFText ($im, $siz, 0, $offx,

RE: [PHP] Convert to int...?

2001-08-22 Thread Michael Geier, CDM Systems Admin
:[EMAIL PROTECTED]] Sent: Wednesday, August 22, 2001 10:07 AM To: [EMAIL PROTECTED] Subject: [PHP] Convert to int...? I didn't think php was this fussy, but the following code seems to not work because the numbers are floats. round() doesn't seem to help either: $siz=(72/160)*GetImageWidth($fileID