computing 60/10 - how to?

From: Date: Mon, 08 Jan 2007 10:21:56 +0000
Subject: computing 60/10 - how to?
Groups: php.general 
Request: Send a blank email to php-general+get-246747@lists.php.net to get a copy of this message
Hi there, I do have a text value inside a variable: exif[FNumber] = 56/10 which I would like to save as a float value: 5,6 into a database. How can I compute this 56/10? I tried things like calculate() or math() but did not find the propper function to do this. Can anybody help, please? Thank you in advance, Merlin

« previous php.general (#246747) next »