Converting text into decimal

How do i convert a Text string into a decimal… I tried Format() and Evaluate() but cant get it to work…

EVALUATE should work. IF EVALUATE(MyDecimalVariable,MyTextVariable) THEN MESSAGE(‘Evaluate succeeded’) ELSE MESSAGE(‘Evaluate failed.’); Maybe the Text string contains a Decimal but the Decimal Symbol in it is not the same as the one defined in Windows Regional Options?

Thankx very much… (i switched the decimal and text … in the evaluate statement

Ah! That explains a lot! [:D] [:p]