Folks,

Does anybody know how I can dynamically evaluate a maths expression that is held in a string.

i.e.

text1="10/3"
ans = eval(text1)
'ans is now 3.3333

The eval function works in ASP 3.0 but doesn't work with vb6 is there an equivalent function I can use in vb?

note: I' dont have ASP 3.0 so I can't include a reference.

Cheers
John