Sounds like you used a SQL Expression, use a standard Cyrstal formula.
Although you might be able to use a SQL Expression, they syntax would be different and it appears that you're using Pervasive, which tends to complicate things when doing so.
Use Turk's or this:
val(mid({stringfield},5,3)) * {NumberField}
-k