Skip to Content
0
Oct 15, 2021 at 08:23 AM

How to formula that comes in an string ?

91 Views

Hi expert,

Does anybody know how to process a formula that comes in an string?

For example:

a = 1. b = 2. c = 3.

string = '( a + b ) * c'. ....

string = '( 1 + 2 ) * 3'.

How can I get the result of that formula ?

Thanks in advance.