How to convert a string to float

From: Date: Sat, 07 Feb 2004 15:55:51 +0000
Subject: How to convert a string to float
Groups: php.doc.de 
Request: Send a blank email to doc-de+get-1087@lists.php.net to get a copy of this message
Is there a possibility to convert a string like "10*500" (parsed from a XML-File) to a float? When i try to store this String in a float variable it only coverts the "10" but nothing after the "*"-sign, but i need the result of this expresison... Is there a function to calculate such string expressions? Thanx...

« previous php.doc.de (#1087) next »