# very urgent help: min, max function class

Sunil K Bansal

Ranch Hand

Posts: 62

posted 14 years ago

Hi guys

i hv to calculate a formula.

formula string is stored in a database

formula string contains fields from different database tables.

after calculating i hv to store that value in database.

i hv a class which can parse and calculate values of the algabraic expression(formula string).

but this class can calculate simple algebra (+,-,*,

) and some trignometry function and log funtions

just pass formula string to this class, it will return the calculated values.

this class i hv taken from a friend, he has downloaded it from some web site

now my problem is

my formula string can contain max, min, and avg functions these are not supproted by this class

can u guys give a class like that which can help me for calculating min, max functions or

give me name of web site from where I can download that class

I need it very urgently.

thanx in advance

Bansal

i hv to calculate a formula.

formula string is stored in a database

formula string contains fields from different database tables.

after calculating i hv to store that value in database.

i hv a class which can parse and calculate values of the algabraic expression(formula string).

but this class can calculate simple algebra (+,-,*,

) and some trignometry function and log funtions

just pass formula string to this class, it will return the calculated values.

this class i hv taken from a friend, he has downloaded it from some web site

now my problem is

my formula string can contain max, min, and avg functions these are not supproted by this class

can u guys give a class like that which can help me for calculating min, max functions or

give me name of web site from where I can download that class

I need it very urgently.

thanx in advance

Bansal

greg philpott

Ranch Hand

Posts: 73