Re: how to convert array into integer

From: Date: Sun, 14 Mar 2004 06:12:12 +0000
Subject: Re: how to convert array into integer
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-180377@lists.php.net to get a copy of this message
Kenneth wrote:
To all, I have an Array ( [0] => 2 [1] => . [2] => 2 [3] => 0 [4] => 8 ) but i want to convert it into integer 2.208 in order to use it to plot graph....how can i convert it? thx, Kenneth Please refer to for loops and string concatenation '.' and type casting (). I can show you the code it's only three lines but that would inhibit your learning process.
-- Raditha Dissanayake. --------------------------------------------------------------- http://www.radinks.com/upload/ Drag and Drop Upload thousands of files and folders in a single transfer. (HTTP or FTP)

« previous php.general (#180377) next »