Look at:
exec()

Be careful if you don't control the input of course.

-Galen

On Feb 7, 2004, at 7:56 AM, Sebastian wrote:

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...

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




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



Reply via email to