String Formulas

String Formulas

am 26.08.2009 18:03:03 von Floyd Resler

How can I take a mathematical formula that is in a string and have the
result, product, sum, etc. returned? I did a search on the Web and
couldn't find any suitable solutions.

Thanks!
Floyd


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

Re: String Formulas

am 26.08.2009 18:08:38 von Ashley Sheridan

On Wed, 2009-08-26 at 12:03 -0400, Floyd Resler wrote:
> How can I take a mathematical formula that is in a string and have the
> result, product, sum, etc. returned? I did a search on the Web and
> couldn't find any suitable solutions.
>
> Thanks!
> Floyd
>
>
eval()

Thanks,
Ash
http://www.ashleysheridan.co.uk




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

Re: String Formulas

am 26.08.2009 18:47:14 von Floyd Resler

Wow, I would never have even thought of that! Thanks!

Take care,
Floyd

On Aug 26, 2009, at 12:08 PM, Ashley Sheridan wrote:

> On Wed, 2009-08-26 at 12:03 -0400, Floyd Resler wrote:
>> How can I take a mathematical formula that is in a string and have
>> the
>> result, product, sum, etc. returned? I did a search on the Web and
>> couldn't find any suitable solutions.
>>
>> Thanks!
>> Floyd
>>
>>
> eval()
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>
>
>


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