That's odd! I added a ? $out right after calling your game24 function (I assume you're talking about the 1st one posted with 434 score?) and it prints nothing...
code:
(1.0*2.0)*(3.0*4.0)
In: 1234; Out: (1.0*2.0)*(3.0*4.0) = 24 => Correct!!
2.0*(6.0+8.0-2.0)
In: 2268; Out: 2.0*(6.0+8.0-2.0) = 24 => Correct!!

In: 4466; Out: = => Correct!!

In: 3388; Out: = => WRONG!!

Are you sure it is returning the value?
If it's some bug in my test program, you guys will have to help here... [Smile]

[ 23. September 2002, 22:43: Message edited by: Fernando Madruga ]
_________________________
Later,   [b]Mad[/b]ruga